Merge pull request #6534 from annando/dba-error

Fix database error
This commit is contained in:
Hypolite Petovan
2019-01-27 17:29:13 -05:00
committed by GitHub

View 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);