aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Ping.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-11-07 01:43:43 -0800
committerzotlabs <mike@macgirvin.com>2018-11-07 01:43:43 -0800
commitd2aa2c080f166e23c4aaaefd09ed7c948a1c3cce (patch)
tree12b6e8cef5d347f249479968d08d8f82a9c6e5ff /Zotlabs/Module/Ping.php
parenta5483a03c90967eea58f5a0db17c59c4ec3ff2ff (diff)
parent714831195319bcb5359511ce6cd9c5dccc6099dd (diff)
downloadvolse-hubzilla-d2aa2c080f166e23c4aaaefd09ed7c948a1c3cce.tar.gz
volse-hubzilla-d2aa2c080f166e23c4aaaefd09ed7c948a1c3cce.tar.bz2
volse-hubzilla-d2aa2c080f166e23c4aaaefd09ed7c948a1c3cce.zip
Merge branch 'master' into zvi
Diffstat (limited to 'Zotlabs/Module/Ping.php')
-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 cf5b2e004..f660c3b55 100644
--- a/Zotlabs/Module/Ping.php
+++ b/Zotlabs/Module/Ping.php
@@ -650,7 +650,7 @@ class Ping extends \Zotlabs\Web\Controller {
$p_sql = (($p_str) ? "OR parent IN ( $p_str )" : '');
$r = q("select count(id) as unseen from item
- where uid = %d and ( owner_xchan = '%s' OR author_xchan = '%s' $p_sql ) and item_unseen = 1 $item_normal",
+ where uid = %d and ( owner_xchan = '%s' OR author_xchan = '%s' $p_sql ) and item_unseen = 1 $item_normal $sql_extra",
intval(local_channel()),
dbesc($forums[$x]['xchan_hash']),
dbesc($forums[$x]['xchan_hash'])