PHP 4.0 Bug #2875: mcal_list_events reports wrong parameter count with correct count
| From: | ingwe at dsl dot upc dot es | Date: | Tue, 30 Nov 1999 17:04:22 +0000 |
| Subject: | PHP 4.0 Bug #2875: mcal_list_events reports wrong parameter count with correct count | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13303@lists.php.net to get a copy of this message | ||
From: ingwe@dsl.upc.es
Operating system: Linux
PHP version: 4.0 Beta 3
PHP Bug Type: Misbehaving function
Bug description: mcal_list_events reports wrong parameter count with correct count
I changed at php3_mcal.c:php3_mcal_list_events
if (myargc != 1 || getParameter....
for
if ((myargc != 1 && myargc != 7) || ....
because of the optionals parameters of mcal_list_events