fix it correctly...

This commit is contained in:
Elizabeth M Smith 2017-06-23 14:41:46 -04:00 committed by GitHub
parent 66464f4c51
commit a7e89cf26c

View File

@ -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);