Skip to content

Commit

Permalink
Modified elseif
Browse files Browse the repository at this point in the history
  • Loading branch information
oyas committed Jul 15, 2016
1 parent 96aa8cd commit e38cda7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Helper/FormHelper.php
Expand Up @@ -712,7 +712,7 @@ public function error($field, $text = null, array $options = [])
foreach ($error as $k => $e) {
if (isset($text[$k])) {
$tmp[] = $text[$k];
} else if (isset($text[$e])) {
} elseif (isset($text[$e])) {
$tmp[] = $text[$e];
} else {
$tmp[] = $e;
Expand Down

0 comments on commit e38cda7

Please sign in to comment.