aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Forums.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-25 23:11:23 -0700
committerzotlabs <mike@macgirvin.com>2018-04-25 23:11:23 -0700
commit4a60f4522068470d2249818e62f1c0c6496ca3d7 (patch)
tree762b50fe2eaaad60d284013c7498aee1dc2a2153 /Zotlabs/Widget/Forums.php
parent7b9946079f94edd0768f0db38e09034017cb544d (diff)
parent953d02e4b7c8ae7e1ccbecb37751936cd23710e0 (diff)
downloadvolse-hubzilla-4a60f4522068470d2249818e62f1c0c6496ca3d7.tar.gz
volse-hubzilla-4a60f4522068470d2249818e62f1c0c6496ca3d7.tar.bz2
volse-hubzilla-4a60f4522068470d2249818e62f1c0c6496ca3d7.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'Zotlabs/Widget/Forums.php')
-rw-r--r--Zotlabs/Widget/Forums.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Widget/Forums.php b/Zotlabs/Widget/Forums.php
index f65a639ff..7415c0f0a 100644
--- a/Zotlabs/Widget/Forums.php
+++ b/Zotlabs/Widget/Forums.php
@@ -66,8 +66,8 @@ class Forums {
for($x = 0; $x < count($r1); $x ++) {
$r = q("select sum(item_unseen) as unseen from item
where uid = %d and owner_xchan = '%s' and item_unseen = 1 $perms_sql ",
- dbesc($r1[$x]['xchan_hash']),
- intval(local_channel())
+ intval(local_channel()),
+ dbesc($r1[$x]['xchan_hash'])
);
if($r)
$r1[$x]['unseen'] = $r[0]['unseen'];