Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix incorrect argument order.

  • Loading branch information...
commit 6cf690398224b763dca966aa11477b08eb856527 1 parent 06c3f01
@markstory markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Utility/Hash.php
View
2  lib/Cake/Utility/Hash.php
@@ -96,7 +96,7 @@ public static function extract(array $data, $path) {
return (array)self::get($data, $path);
}
- if (strpos('[', $path) === false) {
+ if (strpos($path, '[') === false) {
$tokens = explode('.', $path);
} else {
$tokens = String::tokenize($path, '.', '[', ']');
Please sign in to comment.
Something went wrong with that request. Please try again.