When enabling a module that requires another module to be enabled, Drupal asks whether to enable that module as well. On this page, coder.module's coder_form_alter (line 150) kicks in, which normally adds the "(Code Review)" link to the module list. However, since there is no module list, there is not name index in the $form array either, which results in the spitting out of a notice (Undefined index: name in /srv/http/localhost/htdocs/drupal6/sites/all/modules/coder/coder.module on line 155.) and a warning (Invalid argument supplied for foreach() in /srv/http/localhost/htdocs/drupal6/sites/all/modules/coder/coder.module on line 155.).

CommentFileSizeAuthor
#1 coder_245774.patch737 bytesstella

Comments

stella’s picture

Assigned: Unassigned » stella
Status: Active » Needs review
StatusFileSize
new737 bytes

The attached patch should fix this issue. Could someone please review/test it please?

Doug - I can also confirm that this is a D6 only issue.

Cheers,
Stella

stella’s picture

Status: Needs review » Fixed

Committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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