]> granicus.if.org Git - php/commitdiff
- Fixed superfluous parameter.
authorDerick Rethans <derick@php.net>
Sun, 9 Apr 2006 12:58:29 +0000 (12:58 +0000)
committerDerick Rethans <derick@php.net>
Sun, 9 Apr 2006 12:58:29 +0000 (12:58 +0000)
ext/date/php_date.c

index ed720c12d90b52507ecbec32f3d0ecbed72d8ed0..483642f0be7076741456815ebf96472e0c237c3f 100644 (file)
@@ -947,7 +947,7 @@ PHP_FUNCTION(strtotime)
 
        tzi = get_timezone_info(TSRMLS_C);
 
-       if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "sl|l", &times, &time_len, &preset_ts) != FAILURE) {
+       if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "sl", &times, &time_len, &preset_ts) != FAILURE) {
                /* We have an initial timestamp */
                now = timelib_time_ctor();