Skip to content

Commit

Permalink
Merge pull request #100 from oveleon/bugfix/config-merge
Browse files Browse the repository at this point in the history
Correctly override bundle-configuration
  • Loading branch information
doishub authored May 7, 2024
2 parents 8feab8f + 4dddd90 commit 278f328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StyleManager/Sync.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public static function mergeGroupObjects(?StyleManagerModel $objOriginal, ?Style
}

// Overwrite existing value
if (!$key = array_search($field, array_column($arrClasses, 'key')))
if (false !== ($key = array_search($cssClass['key'], array_column($arrClasses, 'key'))))
{
$arrClasses[ $key ] = [
'key' => $cssClass['key'],
Expand Down

0 comments on commit 278f328

Please sign in to comment.