File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3739,7 +3739,7 @@ PHP_METHOD(DateTimeZone, __set_state)
3739
3739
php_date_instantiate (date_ce_timezone , return_value TSRMLS_CC );
3740
3740
tzobj = (php_timezone_obj * ) zend_object_store_get_object (return_value TSRMLS_CC );
3741
3741
if (php_date_timezone_initialize_from_hash (& return_value , & tzobj , myht TSRMLS_CC ) != SUCCESS ) {
3742
- php_error_docref (NULL , E_ERROR , "Timezone initialization failed" );
3742
+ php_error_docref (NULL TSRMLS_CC , E_ERROR , "Timezone initialization failed ");
3743
3743
}
3744
3744
}
3745
3745
/* }}} */
@@ -3757,7 +3757,7 @@ PHP_METHOD(DateTimeZone, __wakeup)
3757
3757
myht = Z_OBJPROP_P (object );
3758
3758
3759
3759
if (php_date_timezone_initialize_from_hash (& return_value , & tzobj , myht TSRMLS_CC ) != SUCCESS ) {
3760
- php_error_docref (NULL , E_ERROR , "Timezone initialization failed" );
3760
+ php_error_docref (NULL TSRMLS_CC , E_ERROR , "Timezone initialization failed ");
3761
3761
}
3762
3762
}
3763
3763
/* }}} */
You can’t perform that action at this time.
0 commit comments