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
commit 0872fe746a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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