mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Fix incorrect argument order.
This commit is contained in:
parent
06c3f01af6
commit
6cf6903982
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class Hash {
|
|||
return (array)self::get($data, $path);
|
||||
}
|
||||
|
||||
if (strpos('[', $path) === false) {
|
||||
if (strpos($path, '[') === false) {
|
||||
$tokens = explode('.', $path);
|
||||
} else {
|
||||
$tokens = String::tokenize($path, '.', '[', ']');
|
||||
|
|
Loading…
Add table
Reference in a new issue