--- c:/xampplite/htdocs/chamanne_shop/modules/taxonomy/taxonomy.pages.inc	Sun Feb 13 15:29:08 2011
+++ c:/xampplite/htdocs/chamanne_shop/modules/taxonomy/taxonomy.pages.inc.bak	Mon Apr 27 13:49:05 2009
@@ -121,14 +121,7 @@
   if ($last_string != '') {
     $result = db_query_range(db_rewrite_sql("SELECT t.tid, t.name FROM {term_data} t WHERE t.vid = %d AND LOWER(t.name) LIKE LOWER('%%%s%%')", 't', 'tid'), $vid, $last_string, 0, 10);
 
-    $prefix = '';
-    if ($array && is_array($array)) {
-      foreach ($array as $term)
-        if (strpos($term, ',') !== FALSE || strpos($term, '"') !== FALSE) {
-          $term = '"'. str_replace('"', '""', $term) .'"';
-        $prefix .= $term . ', ';
-      }
-    }
+    $prefix = count($array) ? implode(', ', $array) .', ' : '';
 
     while ($tag = db_fetch_object($result)) {
       $n = $tag->name;
