Skip to content

Commit

Permalink
Merge pull request #16998 from mvorisek/gh_fix_classic_theme_assert
Browse files Browse the repository at this point in the history
Fix #16997 - assertion of first/classic theme from unsorted list
  • Loading branch information
PierreRambaud committed Jan 8, 2020
2 parents 73feab5 + f624f76 commit 2a2aa83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Core/MailTemplate/FolderThemeCatalog.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public function listThemes()
$this->checkThemesFolder();

$finder = new Finder();
$finder->sortByName();
$finder->directories()->in($this->mailThemesFolder)->depth(0);
$mailThemes = new ThemeCollection();
/** @var SplFileInfo $mailThemeFolder */
Expand Down

0 comments on commit 2a2aa83

Please sign in to comment.