Closed (fixed)
Project:
Coder
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Apr 2008 at 10:17 UTC
Updated:
27 May 2008 at 15:41 UTC
Jump to comment: Most recent file
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.
).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | coder_245774.patch | 737 bytes | stella |
Comments
Comment #1
stella commentedThe 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
Comment #2
stella commentedCommitted.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.