Skip to content

Commit

Permalink
Correctly override bundle-configuration (fixes #99)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniele Sciannimanica <[email protected]>
  • Loading branch information
zoglo and doishub committed May 7, 2024
1 parent 8feab8f commit 4dddd90
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 4dddd90

Please sign in to comment.