mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Check === 'natural' was inadvertently removed
This commit is contained in:
parent
2eafcc0f72
commit
80f6a97d93
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue