=== modified file 'modules/taxonomy/taxonomy.module' --- modules/taxonomy/taxonomy.module 2008-03-16 19:13:19 +0000 +++ modules/taxonomy/taxonomy.module 2008-03-16 19:17:53 +0000 @@ -952,7 +952,7 @@ * An array of matching term objects. */ function taxonomy_get_term_by_name($name) { - $db_result = db_query(db_rewrite_sql("SELECT t.tid, t.* FROM {term_data} t WHERE LOWER(t.name) LIKE LOWER('%s')", 't', 'tid'), trim($name)); + $db_result = db_query(db_rewrite_sql("SELECT t.tid, t.* FROM {term_data} t WHERE LOWER(t.name) = LOWER('%s')", 't', 'tid'), trim($name)); $result = array(); while ($term = db_fetch_object($db_result)) { $result[] = $term;