From 2c2947f93d795a8b2866d79174f84e040cc0cfdb Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sat, 2 Feb 2008 17:25:40 +0000 Subject: [PATCH] - Make timezone_open() work again. --- ext/date/php_date.c | 1 + 1 file changed, 1 insertion(+) 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; } /* }}} */ -- 2.50.1