prevent repeated channel names in system notifications
This commit is contained in:
parent
08bc8ed876
commit
b92cdd2a27
@ -119,7 +119,7 @@ function ping_init(&$a) {
|
|||||||
foreach($z as $zz) {
|
foreach($z as $zz) {
|
||||||
$notifs[] = array(
|
$notifs[] = array(
|
||||||
'notify_link' => $a->get_baseurl() . '/notify/view/' . $zz['id'],
|
'notify_link' => $a->get_baseurl() . '/notify/view/' . $zz['id'],
|
||||||
'name' => $zz['name'],
|
'name' => '', // not required here because the name is in the message
|
||||||
'url' => $zz['url'],
|
'url' => $zz['url'],
|
||||||
'photo' => $zz['photo'],
|
'photo' => $zz['photo'],
|
||||||
'when' => relative_date($zz['date']),
|
'when' => relative_date($zz['date']),
|
||||||
|
Reference in New Issue
Block a user