mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-30 23:01:52 +00:00
fix it correctly...
This commit is contained in:
parent
66464f4c51
commit
a7e89cf26c
@ -892,7 +892,7 @@ class Validator
|
||||
|
||||
// Catches the case where the data isn't an array or object
|
||||
if (is_scalar($data)) {
|
||||
return array($data, false);
|
||||
return array(NULL, false);
|
||||
}
|
||||
|
||||
$identifier = array_shift($identifiers);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user