mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-31 07:01:54 +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
|
// Catches the case where the data isn't an array or object
|
||||||
if (is_scalar($data)) {
|
if (is_scalar($data)) {
|
||||||
return array($data, false);
|
return array(NULL, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
$identifier = array_shift($identifiers);
|
$identifier = array_shift($identifiers);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user