mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
syntax error
This commit is contained in:
@ -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 '';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user