From: Chuck Hagenbuch Date: Wed, 1 Mar 2000 01:34:05 +0000 (+0000) Subject: Show the minor MCAL version if we have it. X-Git-Tag: PHP-4.0-RC1~343 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c87f13951f6cb45298ad7e8f2b43f4793249399f;p=php Show the minor MCAL version if we have it. --- diff --git a/ext/mcal/php_mcal.c b/ext/mcal/php_mcal.c index b3ae486b84..0d98299c4a 100644 --- a/ext/mcal/php_mcal.c +++ b/ext/mcal/php_mcal.c @@ -151,6 +151,9 @@ PHP_MINFO_FUNCTION(mcal) php_printf(""); php_printf(""); php_printf("", CALVER); +#ifdef MCALVER + php_printf("", MCALVER); +#endif php_printf("
Mcal Version:%s%d
"); } @@ -499,7 +502,7 @@ PHP_FUNCTION(mcal_list_events) datetime_t startdate=DT_INIT; datetime_t enddate=DT_INIT; myargc=ARG_COUNT(ht); - if ((myargc !=1 && myargc !=7)|| 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; }