hurr
This commit is contained in:
parent
cb0c64f8ed
commit
0300bae994
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ final class SharpChatRoutes implements IRouteHandler {
|
|||
if($impersonator->isSuperUser())
|
||||
return true;
|
||||
|
||||
$whitelist = $impersonateConfig->getArray(sprintf('allow.u%s', $impersonator->getId()));
|
||||
$whitelist = $this->impersonateConfig->getArray(sprintf('allow.u%s', $impersonator->getId()));
|
||||
return in_array($targetId, $whitelist, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue