]> git.mxchange.org Git - friendica.git/commitdiff
The last PHPCS error ..
authorPhilipp <admin@philipp.info>
Mon, 7 Nov 2022 19:35:07 +0000 (20:35 +0100)
committerPhilipp <admin@philipp.info>
Mon, 7 Nov 2022 19:35:07 +0000 (20:35 +0100)
src/Module/Calendar/Event/Form.php

index aca80898bc94bd5df453afdb19eec2cae26eb013..2e8dec7faaf3bddba6718f30f9bd37a0ac99e335 100644 (file)
@@ -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']) {