mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Code optimization and cleanup.
This commit is contained in:
@@ -1261,7 +1261,7 @@ class e_jsmanager
|
||||
// Renumber integer keys as array_merge_recursive() does. Note that PHP
|
||||
// automatically converts array keys that are integer strings (e.g., '1')
|
||||
// to integers.
|
||||
if (is_integer($key)) {
|
||||
if (is_int($key)) {
|
||||
$result[] = $value;
|
||||
}
|
||||
// Recurse when both values are arrays.
|
||||
|
Reference in New Issue
Block a user