aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-19 20:40:50 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-19 20:40:50 +0100
commit744960d36d636f8840f8bcea13283ea7f97cc4e6 (patch)
tree8c0f8c604f1ab4a895ac30f581c9717cd42bf870 /Zotlabs
parent727b49c8aba0997212b0c4adeb064bd5706a0b2c (diff)
downloadvolse-hubzilla-744960d36d636f8840f8bcea13283ea7f97cc4e6.tar.gz
volse-hubzilla-744960d36d636f8840f8bcea13283ea7f97cc4e6.tar.bz2
volse-hubzilla-744960d36d636f8840f8bcea13283ea7f97cc4e6.zip
only provide notify id if otype == item
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Ping.php2
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
);
}