From b9008e9cb2c8a3e59ec5d7106abefe49587eff6a Mon Sep 17 00:00:00 2001 From: githubjeka Date: Tue, 30 May 2017 15:37:49 +0300 Subject: [PATCH] Fixed syntax php error --- protected/humhub/components/i18n/I18N.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protected/humhub/components/i18n/I18N.php b/protected/humhub/components/i18n/I18N.php index aa9ae0a223..cf5fdd21c6 100644 --- a/protected/humhub/components/i18n/I18N.php +++ b/protected/humhub/components/i18n/I18N.php @@ -45,7 +45,7 @@ class I18N extends \yii\i18n\I18N public function setUserLocale($user) { if ($user === null) { - throw \yii\base\InvalidParamException("User cannot be null!"); + throw new \yii\base\InvalidParamException('User cannot be null!'); } if (!empty($user->language)) {