From ca870dbf31d31455ab4f5e0f461c5af89e1573fa Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 10 Jun 2015 16:59:04 -0700 Subject: more work on item table optimisation --- mod/manage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/manage.php') diff --git a/mod/manage.php b/mod/manage.php index bb6c010f6..bc538e564 100644 --- a/mod/manage.php +++ b/mod/manage.php @@ -56,8 +56,8 @@ function manage_content(&$a) { $channels[$x]['default_links'] = '1'; - $c = q("SELECT id, item_restrict, item_wall FROM item - WHERE item_restrict = 0 and item_unseen = 1 and uid = %d", + $c = q("SELECT id, item_wall FROM item + WHERE item_unseen = 1 and uid = %d " . item_normal(), intval($channels[$x]['channel_id']) ); -- cgit v1.2.3