mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Fixes translation text in ApproveUserForm
This commit is contained in:
parent
8368d721c2
commit
b0b44bad94
@ -55,7 +55,7 @@ class ApproveUserForm extends \yii\base\Model
|
||||
}
|
||||
|
||||
if($this->user->status !== User::STATUS_NEED_APPROVAL) {
|
||||
throw new NotFoundHttpException(Yii::t('AdminModule.controllers_ApprovalController', 'Invalid user state: '.$this->user->status));
|
||||
throw new NotFoundHttpException(Yii::t('AdminModule.controllers_ApprovalController', 'Invalid user state: {state}', ['state' => $this->user->status]));
|
||||
}
|
||||
|
||||
if(!($this->admin instanceof User)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user