]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/AllFriends.php
Create new page_tabs template
[friendica.git] / src / Module / AllFriends.php
index 9867ef5e9c988c7bc714fcc96889e31d8f8efdc9..9f1152f26ec1da81c2e0b26aa05ad07a959ca871 100644 (file)
@@ -67,12 +67,12 @@ class AllFriends extends BaseModule
 
                $pager = new Pager(DI::l10n(), DI::args()->getQueryString());
 
-               $friends = Model\Contact\Relation::listFollows($cid, [], $pager->getItemsPerPage(), $pager->getStart());
+               $friends = Model\Contact\Relation::listFollows($cid, [], [], $pager->getItemsPerPage(), $pager->getStart());
                if (empty($friends)) {
                        return DI::l10n()->t('No friends to display.');
                }
 
-               $tab_str = Contact::getTabsHTML($app, $contact, 4);
+               $tab_str = Contact::getTabsHTML($contact, 4);
 
                $entries = [];
                foreach ($friends as $friend) {