If a path like node/152368 is supplied with the date module enabled and the node is not a valid node id, an error occurs saying an i"nvalid argument supplied for foreach() in date.module on line 41"
The corrections lies in the date_menu function and starts on line 25
$node = node_load(arg(1))
if( $node && date_repeat_type($node->type) )
the change is adding the $node && which checks to see if a valid node object was loaded, because the node will return false if an invalid id was passwed
Comments
Comment #1
karens commentedRight, I just committed a fix for that. I forgot to mention you in the commit for providing the patch, so sorry for that oversight.