From fc95f3a49311ca3d3e45d00d5bc7843ac6974f2a Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 11 Dec 2010 20:33:45 +0000 Subject: updated tags library to use new sql functions git-svn-id: http://code.elgg.org/elgg/trunk@7597 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/tags.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/lib/tags.php b/engine/lib/tags.php index 9e81f4601..ca46a698b 100644 --- a/engine/lib/tags.php +++ b/engine/lib/tags.php @@ -178,9 +178,9 @@ function elgg_get_tags(array $options = array()) { $wheres[] = elgg_get_entity_type_subtype_where_sql('e', $options['types'], $options['subtypes'], $options['type_subtype_pairs']); - $wheres[] = elgg_get_entity_site_where_sql('e', $options['site_guids']); - $wheres[] = elgg_get_entity_owner_where_sql('e', $options['owner_guids']); - $wheres[] = elgg_get_entity_container_where_sql('e', $options['container_guids']); + $wheres[] = elgg_get_guid_based_where_sql('e.site_guid', $options['site_guids']); + $wheres[] = elgg_get_guid_based_where_sql('e.owner_guid', $options['owner_guids']); + $wheres[] = elgg_get_guid_based_where_sql('e.container_guid', $options['container_guids']); $wheres[] = elgg_get_entity_time_where_sql('e', $options['created_time_upper'], $options['created_time_lower'], $options['modified_time_upper'], $options['modified_time_lower']); -- cgit v1.2.3