File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ public static function getPatternSpecificData($patternPartial,$extraData = array
305
305
if (isset ($ d ["patternSpecific " ]) && array_key_exists ($ patternPartial ,$ d ["patternSpecific " ])) {
306
306
307
307
if (!empty ($ d ["patternSpecific " ][$ patternPartial ]["data " ])) {
308
- $ d = array_merge ($ d , $ d ["patternSpecific " ][$ patternPartial ]["data " ]);
308
+ $ d = array_replace_recursive ($ d , $ d ["patternSpecific " ][$ patternPartial ]["data " ]);
309
309
}
310
310
311
311
if (!empty ($ d ["patternSpecific " ][$ patternPartial ]["listItems " ])) {
@@ -317,7 +317,7 @@ public static function getPatternSpecificData($patternPartial,$extraData = array
317
317
318
318
while ($ k < $ c ) {
319
319
$ section = $ numbers [$ k ];
320
- $ d ["listItems " ][$ section ] = array_merge ( $ d ["listItems " ][$ section ], $ d ["patternSpecific " ][$ patternPartial ]["listItems " ][$ section ]);
320
+ $ d ["listItems " ][$ section ] = array_replace_recursive ( $ d ["listItems " ][$ section ], $ d ["patternSpecific " ][$ patternPartial ]["listItems " ][$ section ]);
321
321
$ k ++;
322
322
}
323
323
You can’t perform that action at this time.
0 commit comments