1
1
Fork 0

The last PHPCS error ..

This commit is contained in:
Philipp Holzer 2022-11-07 20:35:07 +01:00
parent d524f55e3e
commit bb97776dfb
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432

View file

@ -124,7 +124,7 @@ class Form extends BaseModule
if (empty($orig_event)) { if (empty($orig_event)) {
$orig_event = User::getById($this->session->getLocalUserId(), $orig_event = User::getById($this->session->getLocalUserId(),
['allow_cid', 'allow_gid', 'deny_cid', 'deny_gid']); ['allow_cid', 'allow_gid', 'deny_cid', 'deny_gid']);
} else if ($orig_event['allow_cid'] !== '<' . $this->session->getLocalUserId() . '>' } elseif ($orig_event['allow_cid'] !== '<' . $this->session->getLocalUserId() . '>'
|| $orig_event['allow_gid'] || $orig_event['allow_gid']
|| $orig_event['deny_cid'] || $orig_event['deny_cid']
|| $orig_event['deny_gid']) { || $orig_event['deny_gid']) {