mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-09 16:57:53 +01:00
Renamed application to app.
This commit is contained in:
@@ -82,7 +82,7 @@ class StringValidator extends Validator
|
||||
}
|
||||
|
||||
if (function_exists('mb_strlen') && $this->encoding !== false) {
|
||||
$length = mb_strlen($value, $this->encoding ? $this->encoding : \Yii::$application->charset);
|
||||
$length = mb_strlen($value, $this->encoding ? $this->encoding : \Yii::$app->charset);
|
||||
} else {
|
||||
$length = strlen($value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user