Skip to content

Commit

Permalink
Fix for #451
Browse files Browse the repository at this point in the history
Fix Issue #451
  • Loading branch information
zoltiecodes committed Feb 2, 2018
1 parent a96dec0 commit 99e054d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/Workshop/Manager/StylistThemeManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function all()
public function find($themeName)
{
foreach ($this->getDirectories() as $directory) {
if (! str_contains(strtolower($directory), strtolower($themeName))) {
if (strtolower(basename($directory)) !== strtolower($themeName)) {
continue;
}

Expand Down

0 comments on commit 99e054d

Please sign in to comment.