Skip to content

Commit

Permalink
Merge pull request #308 from SamMousa/bs3-fix-issue-307
Browse files Browse the repository at this point in the history
Fixed issue #307
  • Loading branch information
crisu83 committed May 14, 2015
2 parents 98ba4b0 + f5c7f3b commit 2664cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widgets/TbActiveForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function error(
$option['status'] = 1;
}
if ($enableClientValidation) {
$validators = TbArray::getValue('clientValidation', $htmlOptions, array());
$validators = (array) TbArray::popValue('clientValidation', $htmlOptions, array());
$attributeName = $attribute;
if (($pos = strrpos($attribute, ']')) !== false && $pos !== strlen($attribute) - 1) // e.g. [a]name
{
Expand Down

0 comments on commit 2664cfe

Please sign in to comment.