From: Ilia Alshanetsky Date: Wed, 4 Aug 2004 00:28:03 +0000 (+0000) Subject: Fixed argument handling in sun* functions. X-Git-Tag: PRE_ZEND_VM_DISPATCH_PATCH~246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7b73ddce7b3401055689766797100afdb8c4642;p=php Fixed argument handling in sun* functions. --- diff --git a/ext/standard/sunfuncs.c b/ext/standard/sunfuncs.c index 7413c2cd69..0666eb18c0 100644 --- a/ext/standard/sunfuncs.c +++ b/ext/standard/sunfuncs.c @@ -192,6 +192,7 @@ static void php_do_date_sunrise_sunset(INTERNAL_FUNCTION_PARAMETERS, int calc_su } case 5: gmt_offset = php_idate('Z', time, 0) / 3600; + case 6: break; default: php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid format");