I've set up a clean D6 install (current CVS branch) and added the current HEAD version of hierarchical select.
After enabling the "Hierarchical Select" module the following error message is displayed (142 times) on the admin/build/modules page:

notice: Undefined index: #type in /home/litrik/workspace/drupal-6/sites/all/modules/hierarchical_select/hierarchical_select.module on line 1426.

After I change line 1426 from

if ($form['#type'] == 'hierarchical_select') {

to

if (isset($form['#type']) && $form['#type'] == 'hierarchical_select') {

the error disappears.

CommentFileSizeAuthor
#1 hierarchical_select-406980.patch709 bytesAnonymous (not verified)

Comments

Anonymous’s picture

StatusFileSize
new709 bytes

The patch

wim leers’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.