notify and alias are now in gcontact as well - the contact expansion in mod/item.php is renewed

This commit is contained in:
Michael Vogel 2016-01-07 23:43:16 +01:00
commit 9521cdc18f
4 changed files with 162 additions and 35 deletions

View file

@ -180,6 +180,7 @@ function display_fetchauthor($a, $item) {
}
// Fetching profile data from global contacts
// @todo: should override everything else (but not Feeds)
$r = q("SELECT `photo`, `nick`, `addr`, `location`, `about`, `gender` FROM `gcontact` WHERE `nurl` = '%s'", dbesc(normalise_link($profiledata["url"])));
if (count($r)) {
if ($profiledata["photo"] == "")