Révision 9faa5de0
Ajouté par Assos Assos il y a presque 3 ans
- ID 9faa5de0ee5c940f7ee0fa98ecd32c0b997b9d0e
- Parent bad4e148
drupal7/sites/all/modules/i18n/i18n_taxonomy/i18n_taxonomy.module | ||
---|---|---|
383 | 383 |
if ($vocabulary = taxonomy_vocabulary_machine_name_load($tree['vocabulary'])) { |
384 | 384 |
if (i18n_taxonomy_vocabulary_mode($vocabulary->vid) == I18N_MODE_TRANSLATE) { |
385 | 385 |
$parent = i18n_taxonomy_translation_term_tid($tree['parent'], NULL, $tree['parent']); |
386 |
$language = i18n_language_context(); |
|
387 |
$terms = i18n_taxonomy_get_tree($vocabulary->vid, $language->language, $parent); |
|
386 |
$context_language = i18n_language_context();
|
|
387 |
$terms = i18n_taxonomy_get_tree($vocabulary->vid, $context_language->language, $parent);
|
|
388 | 388 |
} |
389 | 389 |
else { |
390 | 390 |
$terms = taxonomy_get_tree($vocabulary->vid, $tree['parent']); |
Formats disponibles : Unified diff
Weekly update of contrib modules