Projet

Général

Profil

Révision 7e72b748

Ajouté par Assos Assos il y a plus de 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/term_depth/plugins/access/term_depth.inc
61 61
function _term_depth_convert_config_vid_to_vocabulary_name(&$conf) {
62 62
  // Fallback on legacy 'vid', when no vocabularies are available.
63 63
  if (empty($conf['vocabulary']) && !empty($conf['vid'])) {
64
    $conf['vocabulary'] = reset(_ctools_term_vocabulary_machine_name_convert(array($conf['vid'])));
65
    unset($conf['vid']);
64
    $vocabulary = _ctools_term_vocabulary_machine_name_convert(array($conf['vid']));
65
    $conf['vocabulary'] = reset($vocabulary);
66
    unset($conf['vid'], $vocabulary);
66 67
  }
67 68
}
68 69

  

Formats disponibles : Unified diff