mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 12:34:39 +02:00
for code check
This commit is contained in:
parent
2091af3fe8
commit
bd163c7919
1 changed files with 4 additions and 2 deletions
|
@ -108,8 +108,10 @@ class Form extends BaseModule
|
|||
$share_disabled = '';
|
||||
|
||||
if (empty($orig_event)) {
|
||||
$orig_event = User::getById($this->session->getLocalUserId(),
|
||||
['allow_cid', 'allow_gid', 'deny_cid', 'deny_gid']);
|
||||
$orig_event = User::getById(
|
||||
$this->session->getLocalUserId(),
|
||||
['allow_cid', 'allow_gid', 'deny_cid', 'deny_gid']
|
||||
);
|
||||
} elseif ($orig_event['allow_cid'] !== '<' . $this->session->getLocalUserId() . '>'
|
||||
|| $orig_event['allow_gid']
|
||||
|| $orig_event['deny_cid']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue