Skip to content

Commit

Permalink
Fixed #12195
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Oct 26, 2022
1 parent 9969967 commit 2846b02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Fixed
- Fixed a JavaScript 404 error that occurred when users’ Language was set to Chinese. ([#12194](https://github.com/craftcms/cms/issues/12194))
- Fixed an error that could occur during garbage collection, if any nested volume folders were missing their path. ([#12195](https://github.com/craftcms/cms/issues/12195))

## 3.7.58 - 2022-10-25

Expand Down
1 change: 1 addition & 0 deletions src/services/Gc.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ public function removeEmptyTempFolders(): void
'assets.id' => null,
])
->andWhere(['not', ['folders.parentId' => null]])
->andWhere(['not', ['folders.path' => null]])
->pairs();

$volume = Craft::createObject(Temp::class);
Expand Down

0 comments on commit 2846b02

Please sign in to comment.