This commit is contained in:
redmatrix 2015-08-11 20:25:02 -07:00
parent 89fa36ce2a
commit be4eb4eeb8

View file

@ -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">';