fix BaseHtml::activeStaticControl value type

This commit is contained in:
Игорь Тарасов 2021-08-13 05:46:42 +05:00
parent b51e84b269
commit d833183555

View File

@ -73,7 +73,7 @@ abstract class BaseHtml extends \yii\helpers\Html
$value = static::getAttributeValue($model, $attribute);
}
return static::staticControl($value, $options);
return static::staticControl((string)$value, $options);
}
/**