X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotifications.php;h=e0f07118f733d7f75178be66f0b0c00ca29a04a3;hb=e1c0b4fe03756a51bd1112ff563cd2f1338f8417;hp=f6c4e8f51fb128d7f3c719214e41a5d28d0eb58d;hpb=0f8148a4cb7c477b363cccdb5c638cd10d9df531;p=friendica.git diff --git a/mod/notifications.php b/mod/notifications.php index f6c4e8f51f..e0f07118f7 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -138,6 +138,8 @@ function notifications_content(&$a) { $a->set_pager_itemspage(20); } + /// @todo Fetch contact details by "get_contact_details_by_url" instead of queries to contact, fcontact and gcontact + $r = q("SELECT `intro`.`id` AS `intro_id`, `intro`.*, `contact`.*, `fcontact`.`name` AS `fname`,`fcontact`.`url` AS `furl`,`fcontact`.`photo` AS `fphoto`,`fcontact`.`request` AS `frequest`, `gcontact`.`location` AS `glocation`, `gcontact`.`about` AS `gabout`, `gcontact`.`keywords` AS `gkeywords`, `gcontact`.`gender` AS `ggender`,