aboutsummaryrefslogtreecommitdiffstats
path: root/mod/layouts.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-21 22:17:17 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-21 22:17:17 -0700
commit5795e2a58bb4a0702a3d318ec6ac05681d6e5864 (patch)
treeb416235fa275f7cb036c31737be5fb224a75a87c /mod/layouts.php
parent25bd332aab20662e55824031dfd19dff23e248f8 (diff)
downloadvolse-hubzilla-5795e2a58bb4a0702a3d318ec6ac05681d6e5864.tar.gz
volse-hubzilla-5795e2a58bb4a0702a3d318ec6ac05681d6e5864.tar.bz2
volse-hubzilla-5795e2a58bb4a0702a3d318ec6ac05681d6e5864.zip
more migration of page types
Diffstat (limited to 'mod/layouts.php')
-rw-r--r--mod/layouts.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/layouts.php b/mod/layouts.php
index ba1d900a7..daae1ba5a 100644
--- a/mod/layouts.php
+++ b/mod/layouts.php
@@ -134,10 +134,10 @@ 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' and item_restrict = %d order by item.created desc",
+ $r = q("select iid, sid, mid, title, body, mimetype, created, edited, item_type from item_id left join item on item_id.iid = item.id
+ where item_id.uid = %d and service = 'PDL' and item_type = %d order by item.created desc",
intval($owner),
- intval(ITEM_PDL)
+ intval(ITEM_TYPE_PDL)
);
$pages = null;