X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FACL.php;h=a2db32afc459c44cc21bcaa6315230d7411cccb6;hb=f826ce70ceb9f810a16b70d3d77b9ba2c8d9097d;hp=40612fadfc23e2442a773da74ff56f4ba9b0f690;hpb=4e45987f74ccbe61a53c711317c2e45894435ece;p=friendica.git diff --git a/src/Core/ACL.php b/src/Core/ACL.php index 40612fadfc..a2db32afc4 100644 --- a/src/Core/ACL.php +++ b/src/Core/ACL.php @@ -62,7 +62,7 @@ class ACL $page->registerStylesheet(Theme::getPathForFile('js/friendica-tagsinput/friendica-tagsinput.css')); $page->registerStylesheet(Theme::getPathForFile('js/friendica-tagsinput/friendica-tagsinput-typeahead.css')); - $contacts = self::getValidMessageRecipientsForUser(local_user()); + $contacts = self::getValidMessageRecipientsForUser(DI::userSession()->getLocalUserId()); $tpl = Renderer::getMarkupTemplate('acl/message_recipient.tpl'); $o = Renderer::replaceMacros($tpl, [