fix BaseHtml::activeStaticControl value type
This commit is contained in:
parent
b51e84b269
commit
d833183555
@ -73,7 +73,7 @@ abstract class BaseHtml extends \yii\helpers\Html
|
|||||||
$value = static::getAttributeValue($model, $attribute);
|
$value = static::getAttributeValue($model, $attribute);
|
||||||
}
|
}
|
||||||
|
|
||||||
return static::staticControl($value, $options);
|
return static::staticControl((string)$value, $options);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user