mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
rework previous
This commit is contained in:
parent
236ce426a2
commit
e5b4f4ea78
@ -80,7 +80,7 @@ class Config extends Singleton
|
||||
// probably a safe bet, first key equals 0, last equals the number of keys minus 1.
|
||||
if (empty($arrayData)) {
|
||||
return true;
|
||||
} elseif ($all_keys[0] == "0" && ($last_key == 1 || $all_keys[$last_key-1] == ($last_key-1))) {
|
||||
} elseif ($all_keys[0] == "0" && $all_keys[$last_key-1] == ($last_key-1)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user