Index: i18n.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/i18n/i18n.module,v retrieving revision 1.9.2.1 diff -u -r1.9.2.1 i18n.module --- i18n.module 8 Dec 2004 17:19:00 -0000 1.9.2.1 +++ i18n.module 21 Jan 2005 16:50:19 -0000 @@ -1,5 +1,5 @@ '. $text .''; } Index: i18n_node.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/i18n/i18n_node.inc,v retrieving revision 1.2.2.1 diff -u -r1.2.2.1 i18n_node.inc --- i18n_node.inc 8 Dec 2004 17:19:00 -0000 1.2.2.1 +++ i18n_node.inc 21 Jan 2005 16:50:20 -0000 @@ -1,5 +1,5 @@ nid; } // snid = source nid Index: i18n_taxonomy.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/i18n/i18n_taxonomy.inc,v retrieving revision 1.2.2.1 diff -u -r1.2.2.1 i18n_taxonomy.inc --- i18n_taxonomy.inc 8 Dec 2004 17:19:00 -0000 1.2.2.1 +++ i18n_taxonomy.inc 21 Jan 2005 16:50:20 -0000 @@ -1,5 +1,5 @@ tid; + } + } + + return implode($separator, $translated_tids); +} + function i18n_taxonomy_where_sql($table, $type, $param = '') { //debug("$table $type $param"); switch ($type) { @@ -253,7 +278,7 @@ $result = db_query($sql, $tid); } else { - $result = db_query($sql. ' and a.tid != %d', $tid); + $result = db_query($sql. ' and a.tid != %d', $tid, $tid); } while ($data = db_fetch_object($result)) { $list[$data->language] = $data; @@ -324,5 +349,5 @@ } } - + ?>