From da4cd3cc8cb6a644138e72ed56972b4f0f5a0033 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 19 Dec 2008 15:34:27 +0000 Subject: - Patch #343746 by asimmonds: fixed typo in loading multiple terms at once. Added a test for it too\! --- modules/taxonomy/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy/taxonomy.module') diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 53963fd10..2658eb430 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1103,7 +1103,7 @@ function taxonomy_term_load_multiple($tids = array(), $conditions = array(), $re // If the conditions array is populated, add those to the query. if ($conditions) { foreach ($conditions as $field => $value) { - $query->conditions('t.' . $field, $value); + $query->condition('t.' . $field, $value); } } $queried_terms = $query->execute()->fetchAllAssoc('tid'); -- cgit v1.2.3