Skip to content

Commit

Permalink
i should double read mail first : )
Browse files Browse the repository at this point in the history
  • Loading branch information
Graziel committed Apr 8, 2016
1 parent 35c51bb commit 7243769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Validation/Validator.php
Expand Up @@ -450,7 +450,7 @@ public function requirePresence($field, $mode = true, $message = null)
}

foreach ($field as $fieldName => $setting) {
if (is_string($setting) && is_int($fieldName)) {
if (is_string($setting)) {
$fieldName = $setting;
$setting = [];
}
Expand Down

0 comments on commit 7243769

Please sign in to comment.