File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ public static function getPatternSpecificData($patternPartial,$extraData = array
285
285
if (isset ($ d ["patternSpecific " ]) && array_key_exists ($ patternPartial ,$ d ["patternSpecific " ])) {
286
286
287
287
if (!empty ($ d ["patternSpecific " ][$ patternPartial ]["data " ])) {
288
- $ d = array_replace_recursive ($ d , $ d ["patternSpecific " ][$ patternPartial ]["data " ]);
288
+ $ d = array_merge ($ d , $ d ["patternSpecific " ][$ patternPartial ]["data " ]);
289
289
}
290
290
291
291
if (!empty ($ d ["patternSpecific " ][$ patternPartial ]["listItems " ])) {
@@ -297,7 +297,7 @@ public static function getPatternSpecificData($patternPartial,$extraData = array
297
297
298
298
while ($ k < $ c ) {
299
299
$ section = $ numbers [$ k ];
300
- $ d ["listItems " ][$ section ] = array_replace_recursive ( $ d ["listItems " ][$ section ], $ d ["patternSpecific " ][$ patternPartial ]["listItems " ][$ section ]);
300
+ $ d ["listItems " ][$ section ] = array_merge ( $ d ["listItems " ][$ section ], $ d ["patternSpecific " ][$ patternPartial ]["listItems " ][$ section ]);
301
301
$ k ++;
302
302
}
303
303
You can’t perform that action at this time.
0 commit comments