mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-19 06:26:54 +01:00
Error messages related to array value case changed.
This commit is contained in:
@@ -83,7 +83,7 @@ class CStringValidator extends CValidator
|
||||
if(is_array($value))
|
||||
{
|
||||
// https://github.com/yiisoft/yii/issues/1955
|
||||
$this->addError($object,$attribute,Yii::t('yii','{attribute} must not have array value.'));
|
||||
$this->addError($object,$attribute,Yii::t('yii','{attribute} is invalid.'));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user