diff options
Diffstat (limited to 'mod/page.php')
-rw-r--r-- | mod/page.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mod/page.php b/mod/page.php index 648bd81fd..3cb63a2bc 100644 --- a/mod/page.php +++ b/mod/page.php @@ -61,8 +61,6 @@ function page_init(&$a) { require_once('include/security.php'); $sql_options = item_permissions_sql($u[0]['channel_id']); -dbg(1); - $r = q("select item.* from item left join item_id on item.id = item_id.iid where item.uid = %d and sid = '%s' and (( service = 'WEBPAGE' and item_restrict = %d ) or ( service = 'PDL' and item_restrict = %d )) $sql_options $revision limit 1", @@ -83,7 +81,6 @@ dbg(1); intval(ITEM_WEBPAGE) ); -dbg(0); if($x) { // Yes, it's there. You just aren't allowed to see it. notice( t('Permission denied.') . EOL); |