Fix failing tests.

This commit is contained in:
mark_story 2012-10-24 21:00:56 -04:00
parent 2841611c0f
commit c4b9fa6c7a
2 changed files with 2 additions and 2 deletions

View file

@ -860,7 +860,7 @@ class Validation {
if ($deep !== true) {
return true;
}
if (!$check) {
if ((int)$check === 0) {
return false;
}
$sum = 0;