Re: cvs: php-src /ext/calendar calendar.c

From: Date: Thu, 07 Apr 2005 19:00:26 +0000
Subject: Re: cvs: php-src /ext/calendar calendar.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31284@lists.php.net to get a copy of this message
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

« previous php.cvs (#31284) next »