diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-11 20:33:45 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-11 20:33:45 +0000 |
commit | fc95f3a49311ca3d3e45d00d5bc7843ac6974f2a (patch) | |
tree | e5ae8943f5396f125a8d8b473a84c879a7e78e7e | |
parent | 35aed94252e1679246f8d37861f9129df5feb79b (diff) | |
download | elgg-fc95f3a49311ca3d3e45d00d5bc7843ac6974f2a.tar.gz elgg-fc95f3a49311ca3d3e45d00d5bc7843ac6974f2a.tar.bz2 |
updated tags library to use new sql functions
git-svn-id: http://code.elgg.org/elgg/trunk@7597 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/tags.php | 6 |
1 files 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']); |