Skip to content

Commit

Permalink
Fixed mapping parameters when empty array is used
Browse files Browse the repository at this point in the history
  • Loading branch information
webhdx committed Jan 11, 2024
1 parent 0601b96 commit c708abb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function mapConfig(array &$scopeSettings, $currentScope, ContextualizerIn
$settings = $scopeSettings['notifications'];

foreach (self::MAPPED_SETTINGS as $key) {
if (empty($settings[$key])) {
if (!isset($settings[$key])) {
continue;
}

Expand Down

0 comments on commit c708abb

Please sign in to comment.