aboutsummaryrefslogtreecommitdiff
path: root/mod/file/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/start.php')
-rw-r--r--mod/file/start.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index 06f64fddf..e8e70e6cd 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -214,8 +214,11 @@
} else {
$friendofguid = false;
}
- return elgg_view('file/typecloud',array('owner_guid' => $owner_guid, 'friend_guid' => $friendofguid, 'types' => get_tags(0,10,'simpletype','object','file',$owner_guid)));
+ elgg_register_tag_metadata_name('simpletype');
+ $types = get_tags(0,10,'simpletype','object','file',$owner_guid);
+
+ return elgg_view('file/typecloud',array('owner_guid' => $owner_guid, 'friend_guid' => $friendofguid, 'types' => $types));
}
/**