[PHP-DEV] PHP 4.0 Bug #2875: mcal_list_events reports wrong parameter count with correct count From: ingwe <email protected>
Date: 11/30/99

From: ingwe <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>