From: Derick Rethans Date: Sat, 2 Feb 2008 17:25:40 +0000 (+0000) Subject: - Make timezone_open() work again. X-Git-Tag: RELEASE_2_0_0a1~655 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c2947f93d795a8b2866d79174f84e040cc0cfdb;p=php - Make timezone_open() work again. --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index ef0fb0f05b..7a1daf9985 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -2489,6 +2489,7 @@ PHP_FUNCTION(timezone_open) tzobj = zend_object_store_get_object(date_instantiate(date_ce_timezone, return_value TSRMLS_CC) TSRMLS_CC); tzobj->type = TIMELIB_ZONETYPE_ID; tzobj->tzi.tz = tzi; + tzobj->initialized = 1; } /* }}} */