mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 05:58:42 +00:00
fix formatting
This commit is contained in:
parent
47ebeba041
commit
7ad7e9be41
|
|
@ -141,8 +141,9 @@ final class Router
|
||||||
if ((isset($d['permission']) && $account === null)
|
if ((isset($d['permission']) && $account === null)
|
||||||
|| (isset($d['permission'])
|
|| (isset($d['permission'])
|
||||||
&& !$account->hasPermission(
|
&& !$account->hasPermission(
|
||||||
$d['permission']['type'], $orgId, $app, $d['permission']['module'], $d['permission']['state'])
|
$d['permission']['type'], $orgId, $app, $d['permission']['module'], $d['permission']['state']
|
||||||
)
|
)
|
||||||
|
)
|
||||||
) {
|
) {
|
||||||
\array_merge($bound, $this->route('/' . $app . '/e403', $csrf, $verb));
|
\array_merge($bound, $this->route('/' . $app . '/e403', $csrf, $verb));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user