From 87ff49544376f71cf0f10aef5123886a99b36239 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Fri, 3 Jan 2014 21:25:18 +0100 Subject: Revert "Fix page not found error after editing a webpage" This reverts commit 575f2b3280049eba2bbead023d8fe7fc345af0b1. --- mod/page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/page.php b/mod/page.php index 125c0141f..df17dbf52 100644 --- a/mod/page.php +++ b/mod/page.php @@ -58,7 +58,7 @@ function page_content(&$a) { $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) $sql_options $revision limit 1", + item_restrict = %d $sql_options $revision limit 1", intval($u[0]['channel_id']), dbesc($page_id), intval(ITEM_WEBPAGE) -- cgit v1.2.3