mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
syntax error
This commit is contained in:
@ -1114,7 +1114,7 @@ class BaseHtml
|
||||
public static function activeHint($model, $attribute, $options = [])
|
||||
{
|
||||
$attribute = static::getAttributeName($attribute);
|
||||
$hint = $options['hint']) ? $options['hint'] : $model->getAttributeHint($attribute);
|
||||
$hint = isset($options['hint']) ? $options['hint'] : $model->getAttributeHint($attribute);
|
||||
if (empty($hint)) {
|
||||
return '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user