From 80f6a97d93c3b701456e3d5fb5c3e6304e980362 Mon Sep 17 00:00:00 2001 From: Adrian Gunawan Date: Fri, 14 Aug 2015 15:32:23 +1000 Subject: [PATCH] Check === 'natural' was inadvertently removed --- lib/Cake/Utility/Hash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Utility/Hash.php b/lib/Cake/Utility/Hash.php index 1c1899e48..02d8d579c 100644 --- a/lib/Cake/Utility/Hash.php +++ b/lib/Cake/Utility/Hash.php @@ -892,7 +892,7 @@ class Hash { $type = strtolower($type); } - if (version_compare(PHP_VERSION, '5.4.0', '<')) { + if ($type === 'natural' && version_compare(PHP_VERSION, '5.4.0', '<')) { $type = 'regular'; }