diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-08-22 19:04:55 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-08-22 19:04:55 +0000 |
commit | f9ee6f1429f800c3eed3c0ef59d98219be32fba8 (patch) | |
tree | 5ddfd5c1cd961465f5c46d4ed07d765275ddee6f /mod/file | |
parent | 5a396908110b8d9ae358224f15bdbcb9a6c6dfab (diff) | |
download | elgg-f9ee6f1429f800c3eed3c0ef59d98219be32fba8.tar.gz elgg-f9ee6f1429f800c3eed3c0ef59d98219be32fba8.tar.bz2 |
Merged r6614:6617 from 1.7 branch into trunk
git-svn-id: http://code.elgg.org/elgg/trunk@6845 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file')
-rw-r--r-- | mod/file/start.php | 5 |
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)); } /** |