fallback to url if we have not got an addr
This commit is contained in:
parent
f083c0cba1
commit
a3ba7f0788
@ -828,7 +828,7 @@ class Enotify {
|
|||||||
$x = array(
|
$x = array(
|
||||||
'notify_link' => $item['llink'],
|
'notify_link' => $item['llink'],
|
||||||
'name' => $item['author']['xchan_name'],
|
'name' => $item['author']['xchan_name'],
|
||||||
'addr' => $item['author']['xchan_addr'],
|
'addr' => (($item['author']['xchan_addr']) ? $item['author']['xchan_addr'] : $item['author']['xchan_url']),
|
||||||
'url' => $item['author']['xchan_url'],
|
'url' => $item['author']['xchan_url'],
|
||||||
'photo' => $item['author']['xchan_photo_s'],
|
'photo' => $item['author']['xchan_photo_s'],
|
||||||
'when' => relative_date(($edit)? $item['edited'] : $item['created']),
|
'when' => relative_date(($edit)? $item['edited'] : $item['created']),
|
||||||
|
Reference in New Issue
Block a user