]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/vier/theme.php
Merge pull request #12298 from annando/api-suggestions
[friendica.git] / view / theme / vier / theme.php
index 006450edfcfd62f2a06b94a25b43f78d19b4948b..062e4a105c2e2324c7416bf1708c2a22eba9b348 100644 (file)
@@ -144,7 +144,7 @@ function vier_community_info()
 
        // comunity_profiles
        if ($show_profiles) {
-               $contacts = Contact\Relation::getSuggestions(DI::userSession()->getLocalUserId(), 0, 9);
+               $contacts = Contact\Relation::getCachedSuggestions(DI::userSession()->getLocalUserId(), 0, 9);
 
                $tpl = Renderer::getMarkupTemplate('ch_directory_item.tpl');
                if (DBA::isResult($contacts)) {