Testing with DRUPAL-4-5. I'm no sure whether I should create a bug report for 4.5.0 or CVS

Looks like 'array_key_exists' should be used instead of '$loaded[$module]' or '$list[$module]'

Patch included

Comments

dries’s picture

Committed to the DRUPAL-4-5 branch.

Anonymous’s picture

this patch seems to cause:

Warning: array_key_exists(): The second argument should be either an array or an object in /includes/module.inc on line 90

manual reverting the patch make the problem disappear.

jose reyero’s picture

StatusFileSize
new490 bytes

Opps! We got rid of a 'Notice' and produced a 'Warning' :-(

Yes, I finally got this Warning, when disabling most of the modules.

automat_svet’s picture

got the warning...
Warning: array_key_exists()
module_inc_undefined_index_02.patch won't fix in my case

strangely everything seems ok if I use old version of module.inc v 1.58.2.1 instead of v 1.58.2.5

jose reyero’s picture

Got the warning in the same line of module.inc?

killes@www.drop.org’s picture

not needed anymore.

Anonymous’s picture