Closed (works as designed)
Project:
Internationalization
Version:
7.x-1.x-dev
Component:
Taxonomy
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2011 at 05:28 UTC
Updated:
3 Aug 2011 at 09:27 UTC
Fatal error: Call to undefined function tt() in hs_taxonomy.module on line 939
function _hs_taxonomy_hierarchical_select_terms_to_options($terms) {
$options = array();
foreach ($terms as $key => $term) {
// Use the translated term when available!
if (module_exists('i18n_taxonomy')) {
$options[$term->tid] = tt("taxonomy:term:$term->tid:name", $term->name);
}
else {
$options[$term->tid] = t($term->name);
}
}
return $options;
}
Wim (matainer of HS) says that this issue is not related to HS.
Can somebody say me please that is wrong?
thank u.
p.d. sorry for my english
Comments
Comment #1
fietserwinThe tt() function was deprecated in D6 and removed in D7 version of i18n. The error is actually in the hierarchical select module, but has been patched now (but not yet committed).