[drupal-devel] [bug] No node-options settings generates error
11 May
2005
11 May
'05
4:16 a.m.
Issue status update for http://drupal.org/node/22551 Project: Drupal Version: cvs Component: node system Category: bug reports Priority: critical Assigned to: Anonymous Reported by: jjeff Updated by: jjeff Status: patch Attachment: http://drupal.org/files/issues/node_no-options.patch (1009 bytes) When there are no node options (such as 'published', 'in queue', etc) set for a node-type, the variable_get() in line 1327 does not return an array. So all of the in_array() functions that follow generate errors. Here is a patch that substitutes an empty array for $node_options if it isn't an array. This fixes the problem. -Jeff jjeff
7711
Age (days ago)
7711
Last active (days ago)
0 comments
1 participants
participants (1)
-
jjeff