Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This type of look-up may cause notices when no item types have been configured:
$item_type = t($config['editability']['item_types'][$depth]);
$item_type = (!empty($item_type)) ? $item_type : t('item');
This snippet occurs *six* times in hierarchical_select.module, both in D7 and D6, sometimes with slightly different parameters. Let's fix it.
Comments
Comment #1
Wim LeersD7: http://drupalcode.org/project/hierarchical_select.git/commit/a0fe32f
D6: http://drupalcode.org/project/hierarchical_select.git/commit/a2a4c5f