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.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index 78790d034..10fbff27e 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -213,7 +213,15 @@
}
elgg_register_tag_metadata_name('simpletype');
- $types = get_tags(0,10,'simpletype','object','file',$owner_guid);
+ $options = array(
+ 'type' => 'object',
+ 'subtype' => 'file',
+ 'owner_guid' => $owner_guid,
+ 'threshold' => 0,
+ 'limit' => 10,
+ 'tag_names' => array('simpletype')
+ );
+ $types = elgg_get_tags($options);
return elgg_view('file/typecloud',array('owner_guid' => $owner_guid, 'friend_guid' => $friendofguid, 'types' => $types));
}