iliaa Thu Aug 19 20:46:50 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src NEWS
/php-src/ext/mcal php_mcal.c
Log:
MFH: Fixed bug #29753 (mcal_fetch_event() allows 2nd argument to be optional).
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.720&r2=1.1247.2.721&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.720 php-src/NEWS:1.1247.2.721
--- php-src/NEWS:1.1247.2.720 Thu Aug 19 16:35:35 2004
+++ php-src/NEWS Thu Aug 19 20:46:49 2004
@@ -3,6 +3,8 @@
?? ??? 2004, Version 4.3.9
- Fixed bug with raw_post_data not getting set (Brian)
- Fixed a file-descriptor leak with phpinfo() and other 'special' URLs (Zeev)
+- Fixed bug #29753 (mcal_fetch_event() allows 2nd argument to be optional).
+ (Ilia, Vrana)
- Fixed bug #29727 (Added missing CURL authentication directives). (Ilia)
- Fixed bug #29719 (fgetcsv() has problem parsing strings ending with escaped
enclosures). (Ilia)
http://cvs.php.net/diff.php/php-src/ext/mcal/php_mcal.c?r1=1.52.8.1&r2=1.52.8.2&ty=u
Index: php-src/ext/mcal/php_mcal.c
diff -u php-src/ext/mcal/php_mcal.c:1.52.8.1 php-src/ext/mcal/php_mcal.c:1.52.8.2
--- php-src/ext/mcal/php_mcal.c:1.52.8.1 Tue Dec 31 11:34:51 2002
+++ php-src/ext/mcal/php_mcal.c Thu Aug 19 20:46:49 2004
@@ -459,7 +459,7 @@
CALEVENT *myevent;
int myargcount=ZEND_NUM_ARGS();
- if (myargcount < 1 || myargcount > 3 || zend_get_parameters_ex(myargcount,
&streamind, &eventid, &options) == FAILURE) {
+ if (myargcount < 2 || myargcount > 3 || zend_get_parameters_ex(myargcount,
&streamind, &eventid, &options) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_long_ex(streamind);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php