Closed (fixed)
Project:
Drupal For Firebug
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2008 at 02:13 UTC
Updated:
29 Sep 2008 at 01:52 UTC
After enabling the devel module and going to admin/settings/devel The following warnings are issued:-
notice: Undefined index: devel_node_access_debug_mode in ..../trunk/drupal/sites/all/modules/contrib/drupalforfirebug/drupalforfirebug.module on line 389.
I would supply a patch like before but looking at this:-
if (is_array($b[$bkeys[$x]])) { // is b a valid array
$c[$bkeys[$x]] = drupalforfirebug_array_compare_code($a[$bkeys[$x]], $b[$bkeys[$x]], $c[$bkeys[$x]]);
}
I can only presume someone has a warped sense of humour when it comes to variable names and comments on what that's doing.
Comments
Comment #1
populist commentedThere is some recursive functionality going on which creates a need for $a,$b,$c, but it could clearly be a lot cleaner. I cleaned up the E_ALL errors with a smarter conditional.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.