Closed (fixed)
Project:
Hierarchical Select
Version:
7.x-3.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
18 Apr 2012 at 13:34 UTC
Updated:
2 May 2012 at 13:40 UTC
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