diff options
author | Mark Musone <musone@php.net> | 1999-12-14 06:22:41 +0000 |
---|---|---|
committer | Mark Musone <musone@php.net> | 1999-12-14 06:22:41 +0000 |
commit | 32486ef0b3a9f787adc6b0320e7763325a2a04c7 (patch) | |
tree | 2f90f929f3bc9a93f8c1b1cde742e1f8bc7c4a53 /ext/mcal | |
parent | 1cad06afdadc426ecc0b4389bc7d92449422d623 (diff) | |
download | php-git-32486ef0b3a9f787adc6b0320e7763325a2a04c7.tar.gz |
whoops..need to allow 7 parameters also
Diffstat (limited to 'ext/mcal')
-rw-r--r-- | ext/mcal/php3_mcal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mcal/php3_mcal.c b/ext/mcal/php3_mcal.c index 3d37c17482..72567a30df 100644 --- a/ext/mcal/php3_mcal.c +++ b/ext/mcal/php3_mcal.c @@ -547,7 +547,7 @@ void php3_mcal_list_events(INTERNAL_FUNCTION_PARAMETERS) datetime_t startdate=DT_INIT; datetime_t enddate=DT_INIT; myargc=ARG_COUNT(ht); - if (myargc !=1 || getParameters(ht,myargc,&streamind,&startyear,&startmonth,&startday,&endyear,&endmonth,&endday) == FAILURE) { + if ((myargc !=1 && myargc !=7)|| getParameters(ht,myargc,&streamind,&startyear,&startmonth,&startday,&endyear,&endmonth,&endday) == FAILURE) { WRONG_PARAM_COUNT; } |