Check === 'natural' was inadvertently removed

This commit is contained in:
Adrian Gunawan 2015-08-14 15:32:23 +10:00
parent 2eafcc0f72
commit 80f6a97d93

View file

@ -892,7 +892,7 @@ class Hash {
$type = strtolower($type); $type = strtolower($type);
} }
if (version_compare(PHP_VERSION, '5.4.0', '<')) { if ($type === 'natural' && version_compare(PHP_VERSION, '5.4.0', '<')) {
$type = 'regular'; $type = 'regular';
} }