]> git.mxchange.org Git - friendica.git/blobdiff - mod/acl.php
The fetch function now centrally controls the content
[friendica.git] / mod / acl.php
index ede69403290146950f49dfe4ae8ac121884bc728..c16b3bab6efc879cf8e7cb8e217b2060e774697c 100644 (file)
@@ -260,7 +260,7 @@ function acl_content(App $a)
                $params = ['order' => ['author-name' => true]];
                $authors = Item::selectForUser(local_user(), ['author-link'], $condition, $params);
                $item_authors = [];
-               while ($author = dba::fetch($authors)) {
+               while ($author = Item::fetch($authors)) {
                        $item_authors[$author['author-link']] = $author['author-link'];
                }
                dba::close($authors);