From bb97776dfb7ded2548d05879a88e6565584b248e Mon Sep 17 00:00:00 2001 From: Philipp Date: Mon, 7 Nov 2022 20:35:07 +0100 Subject: [PATCH] The last PHPCS error .. --- src/Module/Calendar/Event/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) { -- 2.39.5