diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-05-18 17:32:36 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-05-18 17:32:36 -0700 |
commit | c2ca2a09e775f59706e386a7e2de0816ba680e54 (patch) | |
tree | 6c26dbf2eb2a913a921fe036431a09f10c76976b /mod/layouts.php | |
parent | ad07d48d3cca06ccc0cc8532d5476fc20b878f3f (diff) | |
download | volse-hubzilla-c2ca2a09e775f59706e386a7e2de0816ba680e54.tar.gz volse-hubzilla-c2ca2a09e775f59706e386a7e2de0816ba680e54.tar.bz2 volse-hubzilla-c2ca2a09e775f59706e386a7e2de0816ba680e54.zip |
this should fix undeletable blocks and layouts
Diffstat (limited to 'mod/layouts.php')
-rw-r--r-- | mod/layouts.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/layouts.php b/mod/layouts.php index 2e45362ba..88bc0647d 100644 --- a/mod/layouts.php +++ b/mod/layouts.php @@ -135,8 +135,9 @@ function layouts_content(&$a) { $editor = status_editor($a,$x); $r = q("select iid, sid, mid, title, body, mimetype, created, edited from item_id left join item on item_id.iid = item.id - where item_id.uid = %d and service = 'PDL' order by item.created desc", - intval($owner) + where item_id.uid = %d and service = 'PDL' and item_restrict = %d order by item.created desc", + intval($owner), + intval(ITEM_PDL) ); $pages = null; |