Skip to content

Commit 0a331f4

Browse files
committed
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: fix TS build
2 parents c538a2e + 2137250 commit 0a331f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/date/php_date.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3767,7 +3767,7 @@ PHP_METHOD(DateTimeZone, __set_state)
37673767
php_date_instantiate(date_ce_timezone, return_value TSRMLS_CC);
37683768
tzobj = (php_timezone_obj *) zend_object_store_get_object(return_value TSRMLS_CC);
37693769
if(php_date_timezone_initialize_from_hash(&return_value, &tzobj, myht TSRMLS_CC) != SUCCESS) {
3770-
php_error_docref(NULL, E_ERROR, "Timezone initialization failed");
3770+
php_error_docref(NULL TSRMLS_CC, E_ERROR, "Timezone initialization failed");
37713771
}
37723772
}
37733773
/* }}} */
@@ -3785,7 +3785,7 @@ PHP_METHOD(DateTimeZone, __wakeup)
37853785
myht = Z_OBJPROP_P(object);
37863786

37873787
if(php_date_timezone_initialize_from_hash(&return_value, &tzobj, myht TSRMLS_CC) != SUCCESS) {
3788-
php_error_docref(NULL, E_ERROR, "Timezone initialization failed");
3788+
php_error_docref(NULL TSRMLS_CC, E_ERROR, "Timezone initialization failed");
37893789
}
37903790
}
37913791
/* }}} */

0 commit comments

Comments
 (0)