Skip to content
Permalink
Browse files

Check === 'natural' was inadvertently removed

  • Loading branch information...
Adrian Gunawan
Adrian Gunawan committed Aug 14, 2015
1 parent 2eafcc0 commit 80f6a97d93c3b701456e3d5fb5c3e6304e980362
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Utility/Hash.php
@@ -892,7 +892,7 @@ public static function sort(array $data, $path, $dir = 'asc', $type = 'regular')
$type = strtolower($type);
}
if (version_compare(PHP_VERSION, '5.4.0', '<')) {
if ($type === 'natural' && version_compare(PHP_VERSION, '5.4.0', '<')) {
$type = 'regular';
}

0 comments on commit 80f6a97

Please sign in to comment.
You can’t perform that action at this time.