mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-09 21:12:41 +00:00
Fix failing tests.
This commit is contained in:
parent
2841611c0f
commit
c4b9fa6c7a
2 changed files with 2 additions and 2 deletions
|
@ -860,7 +860,7 @@ class Validation {
|
|||
if ($deep !== true) {
|
||||
return true;
|
||||
}
|
||||
if (!$check) {
|
||||
if ((int)$check === 0) {
|
||||
return false;
|
||||
}
|
||||
$sum = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue