aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 25c814ba9..9d4c64b2f 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -1005,7 +1005,7 @@ function widget_forums($arr) {
$r = q("select sum(item_unseen) as unseen, owner_xchan, abook_id, xchan.* from xchan left join item on owner_xchan = xchan_hash left join abook on abook_xchan = xchan_hash where xchan_pubforum = 1 and uid = %d and abook_id = %d $perms_sql group by owner_xchan order by xchan_name $limit ",
intval(local_channel()),
- intval(local_channel()),
+ intval(local_channel())
);
if($r) {
$o .= '<div class="widget">';