i have changed the function taxonomy_get_term($tid) to work together with localizer, currently the function ignores the localizer module

function taxonomy_get_term($tid) {
  static $terms = array();

  if (!isset($terms[$tid])) {
      $terms[$tid] = db_fetch_object(db_query('SELECT * FROM {term_data} WHERE tid = %d', $tid));
    if (function_exists('tobject')) {
      $terms[$tid] = tobject('taxonomy_term', $tid, $terms[$tid]);
    }
  }

  return $terms[$tid];
}

i have attached the original localizer taxonomy patch extented with my own changes

CommentFileSizeAuthor
taxonomy.module_43.patch8.29 KBwflohr

Comments

sun’s picture

Assigned: Unassigned » sun
Status: Needs review » Fixed

This is already part of Localizer v2.x.

Anonymous’s picture

Status: Fixed » Closed (fixed)