Closed (fixed)
Project:
Drupal core
Component:
module system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2004 at 16:50 UTC
Updated:
25 Jun 2005 at 21:56 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | module_inc_undefined_index_02.patch | 490 bytes | jose reyero |
| module_inc_undefined_index.patch | 805 bytes | jose reyero |
Comments
Comment #1
dries commentedCommitted to the DRUPAL-4-5 branch.
Comment #2
(not verified) commentedthis 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.
Comment #3
jose reyero commentedOpps! We got rid of a 'Notice' and produced a 'Warning' :-(
Yes, I finally got this Warning, when disabling most of the modules.
Comment #4
automat_svet commentedgot 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
Comment #5
jose reyero commentedGot the warning in the same line of module.inc?
Comment #6
killes@www.drop.org commentednot needed anymore.
Comment #7
(not verified) commented