re #22 fix parameter order bug
This commit is contained in:
@ -305,7 +305,7 @@ class AdminController extends Controller
|
||||
return $this->redirect(['index']);
|
||||
}
|
||||
|
||||
$this->make(SwitchIdentityService::class, [$this, 'userId' => $id])->run();
|
||||
$this->make(SwitchIdentityService::class, [$this, 2 => $id])->run();
|
||||
|
||||
return $this->goHome();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user