]> git.mxchange.org Git - friendica.git/blobdiff - mod/acl.php
New function to fetch item data especially for users
[friendica.git] / mod / acl.php
index 7f171568967ef204746bb842aa90328a18ead336..ede69403290146950f49dfe4ae8ac121884bc728 100644 (file)
@@ -258,7 +258,7 @@ function acl_content(App $a)
 
                $condition = ["`parent` = ?", $conv_id];
                $params = ['order' => ['author-name' => true]];
-               $authors = Item::select(local_user(), ['author-link'], $condition, $params);
+               $authors = Item::selectForUser(local_user(), ['author-link'], $condition, $params);
                $item_authors = [];
                while ($author = dba::fetch($authors)) {
                        $item_authors[$author['author-link']] = $author['author-link'];