aboutsummaryrefslogtreecommitdiffstats
path: root/mod/blocks.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blocks.php')
-rw-r--r--mod/blocks.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/blocks.php b/mod/blocks.php
index ac78473ce..5df6aa1bc 100644
--- a/mod/blocks.php
+++ b/mod/blocks.php
@@ -106,7 +106,7 @@ function blocks_content(&$a) {
$editor = status_editor($a,$x);
- $r = q("select iid, sid, mid, body, created, edited from item_id left join item on item_id.iid = item.id
+ $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' order by item.created desc",
intval($owner)
);
@@ -118,6 +118,7 @@ function blocks_content(&$a) {
foreach($r as $rr) {
$element_arr = array(
'type' => 'block',
+ 'title' => $rr['title'],
'body' => $rr['body'],
'created' => $rr['created'],
'edited' => $rr['edited'],