From: Philipp Date: Mon, 7 Nov 2022 19:35:07 +0000 (+0100) Subject: The last PHPCS error .. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bb97776dfb7ded2548d05879a88e6565584b248e;p=friendica.git The last PHPCS error .. --- diff --git a/src/Module/Calendar/Event/Form.php b/src/Module/Calendar/Event/Form.php index aca80898bc..2e8dec7faa 100644 --- a/src/Module/Calendar/Event/Form.php +++ b/src/Module/Calendar/Event/Form.php @@ -124,7 +124,7 @@ class Form extends BaseModule if (empty($orig_event)) { $orig_event = User::getById($this->session->getLocalUserId(), ['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['deny_cid'] || $orig_event['deny_gid']) {