mirror of
https://github.com/friendica/friendica
synced 2024-12-23 12:00:16 +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_values[] = $group;
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql_extra .= Widget::unavailableNetworks();
|
|
||||||
|
|
||||||
$total = 0;
|
$total = 0;
|
||||||
$stmt = DBA::p("SELECT COUNT(*) AS `total`
|
$stmt = DBA::p("SELECT COUNT(*) AS `total`
|
||||||
FROM `contact`
|
FROM `contact`
|
||||||
WHERE `uid` = ?
|
WHERE `uid` = ?
|
||||||
AND `self` = 0
|
AND `self` = 0
|
||||||
AND NOT `deleted`
|
AND NOT `deleted`
|
||||||
$sql_extra",
|
$sql_extra
|
||||||
|
" . Widget::unavailableNetworks(),
|
||||||
$sql_values
|
$sql_values
|
||||||
);
|
);
|
||||||
if (DBA::isResult($stmt)) {
|
if (DBA::isResult($stmt)) {
|
||||||
|
|
Loading…
Reference in a new issue