Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
addison74 authored Feb 19, 2024
1 parent 6883801 commit 1c142ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Cms/Model/Wysiwyg/Images/Storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function getDirsCollection($path)
}
// "include" section takes precedence and can revoke directory exclusion
foreach ($this->getConfig()->dirs->include->children() as $dir) {
unset($conditions['regexp'][(string) $dir], $conditions['plain'][(string) $dir]);
unset($conditions['reg_exp'][(string) $dir], $conditions['plain'][(string) $dir]);
}

$regExp = $conditions['reg_exp'] ? ('~' . implode('|', array_keys($conditions['reg_exp'])) . '~i') : null;
Expand Down

0 comments on commit 1c142ca

Please sign in to comment.