mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:40:17 +00:00
Merge pull request #8809 from MrPetovan/bug/8808-db-error-contact
Add expected whitespace before Widget::unavailableNetworks() output
This commit is contained in:
commit
e1e06459b9
1 changed files with 2 additions and 3 deletions
|
@ -714,15 +714,14 @@ class Contact extends BaseModule
|
|||
$sql_values[] = $group;
|
||||
}
|
||||
|
||||
$sql_extra .= Widget::unavailableNetworks();
|
||||
|
||||
$total = 0;
|
||||
$stmt = DBA::p("SELECT COUNT(*) AS `total`
|
||||
FROM `contact`
|
||||
WHERE `uid` = ?
|
||||
AND `self` = 0
|
||||
AND NOT `deleted`
|
||||
$sql_extra",
|
||||
$sql_extra
|
||||
" . Widget::unavailableNetworks(),
|
||||
$sql_values
|
||||
);
|
||||
if (DBA::isResult($stmt)) {
|
||||
|
|
Loading…
Reference in a new issue