Projet

Général

Profil

Révision 2157f5a8

Ajouté par Assos Assos il y a presque 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/i18n/i18n_taxonomy/i18n_taxonomy.module
1027 1027
      }
1028 1028
      elseif ($term->language && $term->language != $langcode) {
1029 1029
        $translation_set = i18n_translation_set_load($term->i18n_tsid);
1030
        $translations = $translation_set->get_translations();
1030
        $translations = ($translation_set) ? $translation_set->get_translations() : NULL;
1031 1031

  
1032 1032
        if ($translations && !empty($translations[$langcode])) {
1033 1033
          $newterm = $translations[$langcode];

Formats disponibles : Unified diff