Skip to content

Commit

Permalink
Fixed #7361
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Jan 12, 2021
1 parent 4f85b4e commit 064d143
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- Fixed a bug where week day and month names were being translated based on the current formatting locale, rather than the current language. ([#7312](https://github.com/craftcms/cms/issues/7312))
- Fixed a bug where `craft\elements\Asset::getSrcset()` could return the wrong value if the asset had a named transform set on it. ([#7352](https://github.com/craftcms/cms/issues/7352))
- Fixed a bug where user registration forms could get a “Username cannot be blank” error even if the `useEmailAsUsername` config setting was enabled. ([#7357](https://github.com/craftcms/cms/issues/7357))
- Fixed a bug where clearing control panel resources would delete the `.gitignore` file as well. ([#7361](https://github.com/craftcms/cms/issues/7361))

## 3.5.17.1 - 2020-12-17

Expand Down
2 changes: 1 addition & 1 deletion src/utilities/ClearCaches.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public static function cacheOptions(): array
}

FileHelper::clearDirectory(Craft::getAlias($basePath), [
'except' => ['/.gitignore']
'except' => ['.gitignore']
]);
},
],
Expand Down

0 comments on commit 064d143

Please sign in to comment.