aboutsummaryrefslogtreecommitdiffstats
path: root/mod/webpages.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-13 17:07:12 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-13 17:07:12 -0700
commit475dc7b686d6939d88c79dd58df1ff751356a922 (patch)
tree1271d12c627d8bd3826119df08e9d2c9477be3aa /mod/webpages.php
parent4ca06ebd79b5258c5cb6ccb0871d98c9180f91b2 (diff)
parentc82082d2bbb00294d62330d577dcdbc9ec6b9d1c (diff)
downloadvolse-hubzilla-475dc7b686d6939d88c79dd58df1ff751356a922.tar.gz
volse-hubzilla-475dc7b686d6939d88c79dd58df1ff751356a922.tar.bz2
volse-hubzilla-475dc7b686d6939d88c79dd58df1ff751356a922.zip
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts: boot.php include/api.php include/enotify.php
Diffstat (limited to 'mod/webpages.php')
-rw-r--r--mod/webpages.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/webpages.php b/mod/webpages.php
index 859c93fde..62abfb34a 100644
--- a/mod/webpages.php
+++ b/mod/webpages.php
@@ -133,8 +133,9 @@ function webpages_content(&$a) {
$sql_extra = item_permissions_sql($owner);
$r = q("select * from item_id left join item on item_id.iid = item.id
- where item_id.uid = %d and service = 'WEBPAGE' $sql_extra order by item.created desc",
- intval($owner)
+ where item_id.uid = %d and service = 'WEBPAGE' and item_restrict = %d $sql_extra order by item.created desc",
+ intval($owner),
+ intval(ITEM_WEBPAGE)
);
$pages = null;