aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-26 14:34:06 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-26 14:34:06 +0000
commit3b7a8e97f27d35874c5b339ef56a41523508f739 (patch)
treea25ac657618bb0316980d6d1de25097c654a0dbd
parent70cdb33ea110da47d2878b737b4f61619915993e (diff)
downloadelgg-3b7a8e97f27d35874c5b339ef56a41523508f739.tar.gz
elgg-3b7a8e97f27d35874c5b339ef56a41523508f739.tar.bz2
Fixes #1555: Added missing call to elgg_get_registered_tag_metadata_names() and defined missing variable.
git-svn-id: http://code.elgg.org/elgg/trunk@3973 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/tags.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/tags.php b/engine/lib/tags.php
index ea8d3ebcc..c551ba67a 100644
--- a/engine/lib/tags.php
+++ b/engine/lib/tags.php
@@ -181,6 +181,7 @@ function get_tags($threshold = 1, $limit = 10, $metadata_name = "", $entity_type
function display_tagcloud($threshold = 1, $limit = 10, $metadata_name = "", $entity_type = "object", $entity_subtype = "", $owner_guid = "", $site_guid = -1, $start_ts = "", $end_ts = "") {
+ $registered_tags = elgg_get_registered_tag_metadata_names();
if (!in_array($metadata_name, $registered_tags)) {
elgg_deprecated_notice('Tag metadata names must be registered by elgg_register_tag_metadata_name()', 1.7);
}
@@ -229,4 +230,4 @@ function elgg_get_registered_tag_metadata_names() {
}
// register the standard tags metadata name
-elgg_register_tag_metadata_name('tags'); \ No newline at end of file
+elgg_register_tag_metadata_name('tags');