The last PHPCS error ..

This commit is contained in:
Philipp 2022-11-07 20:35:07 +01:00
parent d524f55e3e
commit bb97776dfb
No known key found for this signature in database
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']) {