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
| Comment | File | Size | Author |
|---|---|---|---|
| node_no-options.patch | 1009 bytes | jjeff |
Comments
Comment #1
chx commentedhttp://drupal.org/node/18663 is the general solution.