diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-07-08 18:05:38 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-07-08 18:05:38 -0700 |
commit | 43354ab385cd5c7adcc86f591159f10201420aae (patch) | |
tree | b22490a0bbef67f65740e2daf070120163f5c301 /mod/blocks.php | |
parent | 6b41074396f72f8c47e3d6479b1035cde4a5c7f8 (diff) | |
download | volse-hubzilla-43354ab385cd5c7adcc86f591159f10201420aae.tar.gz volse-hubzilla-43354ab385cd5c7adcc86f591159f10201420aae.tar.bz2 volse-hubzilla-43354ab385cd5c7adcc86f591159f10201420aae.zip |
inconsistent naming of block item types
Diffstat (limited to 'mod/blocks.php')
-rw-r--r-- | mod/blocks.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/blocks.php b/mod/blocks.php index 95979a304..97cc5cd53 100644 --- a/mod/blocks.php +++ b/mod/blocks.php @@ -84,7 +84,7 @@ function blocks_content(&$a) { } $x = array( - 'webpage' => ITEM_TYPE_BUILDBLOCK, + 'webpage' => ITEM_TYPE_BLOCK, 'is_owner' => true, 'nickname' => $a->profile['channel_address'], 'lockstate' => (($channel['channel_allow_cid'] || $channel['channel_allow_gid'] || $channel['channel_deny_cid'] || $channel['channel_deny_gid']) ? 'lock' : 'unlock'), @@ -110,7 +110,7 @@ function blocks_content(&$a) { $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 = 'BUILDBLOCK' and item_type = %d order by item.created desc", intval($owner), - intval(ITEM_TYPE_BUILDBLOCK) + intval(ITEM_TYPE_BLOCK) ); $pages = null; |