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 @@ -285,7 +285,7 @@ public static function getPatternSpecificData($patternPartial,$extraData = array
285285 if (isset ($ d ["patternSpecific " ]) && array_key_exists ($ patternPartial ,$ d ["patternSpecific " ])) {
286286
287287 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 " ]);
289289 }
290290
291291 if (!empty ($ d ["patternSpecific " ][$ patternPartial ]["listItems " ])) {
@@ -297,7 +297,7 @@ public static function getPatternSpecificData($patternPartial,$extraData = array
297297
298298 while ($ k < $ c ) {
299299 $ 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 ]);
301301 $ k ++;
302302 }
303303
You can’t perform that action at this time.
0 commit comments