Fix database error
authorMichael <heluecht@pirati.ca>
Sun, 27 Jan 2019 19:54:08 +0000 (19:54 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 27 Jan 2019 19:54:08 +0000 (19:54 +0000)
mod/viewcontacts.php

index d36ea96..7c2b96f 100644 (file)
@@ -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);