Closed NazzarenoMarziale closed 5 years ago
@NazzarenoMarziale Thanks for finding this bug! I slightly tweaked your fix in 4fba7e5 to preserve the key case in the array returned by removeKeys
in case removeKeys
needs to keep removeKeys
more generic for future use.
The function checks if inside keys of array exist "origin", instead removeKey function return an array that contains the removed elements. I inserted strtolower function to insert in to array the removed elements in order to not search elements with upper case characters.