Closed (fixed)
Project:
Localizer
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Apr 2007 at 09:49 UTC
Updated:
26 Apr 2007 at 14:33 UTC
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
| Comment | File | Size | Author |
|---|---|---|---|
| taxonomy.module_43.patch | 8.29 KB | wflohr |
Comments
Comment #1
sunThis is already part of Localizer v2.x.
Comment #2
(not verified) commented