mirror of
https://github.com/friendica/friendica
synced 2025-04-26 20:30:11 +00:00
Reformatted stuff, improved query
This commit is contained in:
parent
be1db7bdb0
commit
ea18d1829f
2 changed files with 8 additions and 10 deletions
|
@ -90,7 +90,7 @@ function networks_widget($baseurl,$selected = '') {
|
|||
|
||||
$extra_sql = unavailable_networks();
|
||||
|
||||
$r = q("SELECT DISTINCT(`network`) FROM `contact` WHERE `uid` = %d AND NOT `self` $extra_sql ORDER BY `network`",
|
||||
$r = q("SELECT DISTINCT(`network`) FROM `contact` WHERE `uid` = %d AND `network` != '' $extra_sql ORDER BY `network`",
|
||||
intval(local_user())
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue