projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d524f55
)
The last PHPCS error ..
author
Philipp
<admin@philipp.info>
Mon, 7 Nov 2022 19:35:07 +0000
(20:35 +0100)
committer
Philipp
<admin@philipp.info>
Mon, 7 Nov 2022 19:35:07 +0000
(20:35 +0100)
src/Module/Calendar/Event/Form.php
patch
|
blob
|
history
diff --git
a/src/Module/Calendar/Event/Form.php
b/src/Module/Calendar/Event/Form.php
index aca80898bc94bd5df453afdb19eec2cae26eb013..2e8dec7faaf3bddba6718f30f9bd37a0ac99e335 100644
(file)
--- 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']) {