From 5ded9671290b9daf406530c13bc5554caed72268 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 27 Jan 2019 19:54:08 +0000 Subject: [PATCH] Fix database error --- mod/viewcontacts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/viewcontacts.php b/mod/viewcontacts.php index d36ea96c7d..7c2b96fad1 100644 --- a/mod/viewcontacts.php +++ b/mod/viewcontacts.php @@ -66,7 +66,7 @@ function viewcontacts_content(App $a) 'network' => [Protocol::ACTIVITYPUB, Protocol::DFRN, Protocol::DIASPORA, Protocol::OSTATUS] ]; - $total = DBA::count('count', $condition); + $total = DBA::count('contact', $condition); $pager = new Pager($a->query_string); -- 2.39.5