re #22 fix parameter order bug

This commit is contained in:
Antonio Ramirez
2017-07-19 00:34:14 +02:00
parent c627672486
commit 8db2df1a48
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}