When adding or editing a banner I get a few in_array() errors.

Not sure why. I tried commenting out the banner_form() code and that didn't do it.. same with banner_load() thinking it was something weird.. not too sure.

Comments

rseiser’s picture

I made two modifications in node.module that seem to be necessary for PHP5:

$node->$key = is_array($node_options) && in_array($key, $node_options); //rseiser: to also check if empty array
//$node->$key = in_array($key, $node_options); //seiser: this was the original

$node->revision = is_array($node_options) && in_array('revision', $node_options); //rseiser: to also check if empty array
//$node->revision = in_array('revision', $node_options); //seiser: this was the original