diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-11-19 20:40:50 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-11-19 20:40:50 +0100 |
commit | 744960d36d636f8840f8bcea13283ea7f97cc4e6 (patch) | |
tree | 8c0f8c604f1ab4a895ac30f581c9717cd42bf870 /Zotlabs/Module/Ping.php | |
parent | 727b49c8aba0997212b0c4adeb064bd5706a0b2c (diff) | |
download | volse-hubzilla-744960d36d636f8840f8bcea13283ea7f97cc4e6.tar.gz volse-hubzilla-744960d36d636f8840f8bcea13283ea7f97cc4e6.tar.bz2 volse-hubzilla-744960d36d636f8840f8bcea13283ea7f97cc4e6.zip |
only provide notify id if otype == item
Diffstat (limited to 'Zotlabs/Module/Ping.php')
-rw-r--r-- | Zotlabs/Module/Ping.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Ping.php b/Zotlabs/Module/Ping.php index f98626ffb..8644b8326 100644 --- a/Zotlabs/Module/Ping.php +++ b/Zotlabs/Module/Ping.php @@ -280,7 +280,7 @@ class Ping extends \Zotlabs\Web\Controller { 'when' => relative_date($tt['created']), 'hclass' => (($tt['seen']) ? 'notify-seen' : 'notify-unseen'), 'b64mid' => $b64mid, - 'notify_id' => $tt['id'], + 'notify_id' => (($tt['otype'] == 'item') ? $tt['id'] : ''), 'message' => $message ); } |