aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Forums.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-02-04 22:37:30 +0100
committerMario Vavti <mario@mariovavti.com>2018-02-04 22:37:30 +0100
commit9d55a254dcd39e2a77a1c24625adba69d16acb7a (patch)
tree89c9d026a168139fe81a7bdf2479a7c68db06fdf /Zotlabs/Widget/Forums.php
parentf9aecf5d4c8304acb51d05be5bf2fd4bb70f790f (diff)
downloadvolse-hubzilla-9d55a254dcd39e2a77a1c24625adba69d16acb7a.tar.gz
volse-hubzilla-9d55a254dcd39e2a77a1c24625adba69d16acb7a.tar.bz2
volse-hubzilla-9d55a254dcd39e2a77a1c24625adba69d16acb7a.zip
this will fix the cards query and keep the rest intact
Diffstat (limited to 'Zotlabs/Widget/Forums.php')
-rw-r--r--Zotlabs/Widget/Forums.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Forums.php b/Zotlabs/Widget/Forums.php
index b572444e3..f65a639ff 100644
--- a/Zotlabs/Widget/Forums.php
+++ b/Zotlabs/Widget/Forums.php
@@ -65,7 +65,7 @@ class Forums {
for($x = 0; $x < count($r1); $x ++) {
$r = q("select sum(item_unseen) as unseen from item
- where owner_xchan = '%s' and uid = %d and item_unseen = 1 $perms_sql ",
+ where uid = %d and owner_xchan = '%s' and item_unseen = 1 $perms_sql ",
dbesc($r1[$x]['xchan_hash']),
intval(local_channel())
);