From: Derick Rethans Date: Sat, 2 Feb 2008 17:26:23 +0000 (+0000) Subject: - MFH: Make timezone_open() work again. X-Git-Tag: php-5.2.6RC1~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7ae91bea734004491ab0071ed81823711a3c45b;p=php - MFH: Make timezone_open() work again. --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 9b05540d16..cac7fdb5fd 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -2168,6 +2168,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; } /* }}} */