diff options
author | Christian Vogeley <christian.vogeley@hotmail.de> | 2014-01-03 21:25:18 +0100 |
---|---|---|
committer | Christian Vogeley <christian.vogeley@hotmail.de> | 2014-01-03 21:25:18 +0100 |
commit | 87ff49544376f71cf0f10aef5123886a99b36239 (patch) | |
tree | 9dfef31eadee9dd41ae71a1ff40cd010d91e2a59 | |
parent | aafc40069bf0955d935adb4632650c7c990063a7 (diff) | |
download | volse-hubzilla-87ff49544376f71cf0f10aef5123886a99b36239.tar.gz volse-hubzilla-87ff49544376f71cf0f10aef5123886a99b36239.tar.bz2 volse-hubzilla-87ff49544376f71cf0f10aef5123886a99b36239.zip |
Revert "Fix page not found error after editing a webpage"
This reverts commit 575f2b3280049eba2bbead023d8fe7fc345af0b1.
-rw-r--r-- | mod/page.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) |