Skip to content
Permalink
Browse files

Fix incorrect argument order.

  • Loading branch information...
markstory committed Dec 7, 2012
1 parent 06c3f01 commit 6cf690398224b763dca966aa11477b08eb856527
Showing with 1 addition and 1 deletion.
  1. +1 −1 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, '.', '[', ']');

0 comments on commit 6cf6903

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.