On Thu, 7 Apr 2005, Dmitry Stogov wrote: > @@ -246,6 +246,11 @@ > > sdn_start = calendar->to_jd(year, month, 1); > > + if (sdn_start == 0) { > + php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid date."); > + RETURN_FALSE; > + } > + > sdn_next = calendar->to_jd(year, 1 + month, 1);
Please make sure you stick to our coding standards... we use tabs, not spaces :) Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php