mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Fixed syntax php error
This commit is contained in:
parent
e899710a0a
commit
b9008e9cb2
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user