1
0
Fork 0

rework autocomplete: some styling if contact is forum

This commit is contained in:
rabuzarus 2016-02-03 00:25:33 +01:00
commit ad5be2901e
4 changed files with 22 additions and 7 deletions

View file

@ -38,7 +38,7 @@ class dir {
$extra_sql = "";
$results = q("SELECT `contact`.`id` AS `cid`, `gcontact`.`url`, `gcontact`.`name`, `gcontact`.`nick`, `gcontact`.`photo`,
`gcontact`.`network`, `gcontact`.`keywords`, `gcontact`.`addr`
`gcontact`.`network`, `gcontact`.`keywords`, `gcontact`.`addr`, `gcontact`.`community`
FROM `gcontact`
LEFT JOIN `contact` ON `contact`.`nurl` = `gcontact`.`nurl`
AND `contact`.`uid` = %d AND NOT `contact`.`blocked`