syntax error

This commit is contained in:
Angel Guevara
2015-12-01 07:34:40 -06:00
parent 7a2bbabbbd
commit d0ffb58efb

View File

@ -1114,7 +1114,7 @@ class BaseHtml
public static function activeHint($model, $attribute, $options = []) public static function activeHint($model, $attribute, $options = [])
{ {
$attribute = static::getAttributeName($attribute); $attribute = static::getAttributeName($attribute);
$hint = $options['hint']) ? $options['hint'] : $model->getAttributeHint($attribute); $hint = isset($options['hint']) ? $options['hint'] : $model->getAttributeHint($attribute);
if (empty($hint)) { if (empty($hint)) {
return ''; return '';
} }