From: rabuzarus <> Date: Thu, 25 Jun 2015 10:38:09 +0000 (+0200) Subject: acl for events and photos X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bfebf9636b075ee2b27dab98c39535e7d2298b85;p=friendica.git acl for events and photos --- diff --git a/mod/events.php b/mod/events.php index e9e1af05d8..92c128c1dd 100644 --- a/mod/events.php +++ b/mod/events.php @@ -507,7 +507,7 @@ function events_content(&$a) { '$sh_text' => t('Share this event'), '$sh_checked' => $sh_checked, '$preview' => t('Preview'), - '$acl' => (($cid) ? '' : populate_acl(((x($orig_event)) ? $orig_event : $a->user),false)), + '$acl' => (($cid) ? '' : populate_acl(((x($orig_event)) ? $orig_event : $a->user),false, false)), '$submit' => t('Submit') )); diff --git a/mod/photos.php b/mod/photos.php index 02ae0e76d2..8f11a523bb 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1139,11 +1139,11 @@ function photos_content(&$a) { if($a->theme['template_engine'] === 'internal') { $albumselect_e = template_escape($albumselect); - $aclselect_e = (($visitor) ? '' : template_escape(populate_acl($a->user, $celeb))); + $aclselect_e = (($visitor) ? '' : template_escape(populate_acl($a->user, $celeb,false))); } else { $albumselect_e = $albumselect; - $aclselect_e = (($visitor) ? '' : populate_acl($a->user, $celeb)); + $aclselect_e = (($visitor) ? '' : populate_acl($a->user, $celeb,false)); } $o .= replace_macros($tpl,array(