]> granicus.if.org Git - php/commitdiff
Fixed ZTS and added fix to NEWS.
authorDerick Rethans <github@derickrethans.nl>
Tue, 11 Feb 2014 11:27:01 +0000 (11:27 +0000)
committerDerick Rethans <github@derickrethans.nl>
Tue, 11 Feb 2014 11:27:01 +0000 (11:27 +0000)
NEWS
ext/date/php_date.c

diff --git a/NEWS b/NEWS
index 04bb71c4fd3ceacd14a012745593a9a9ec50b6cc..c657efc94371a53f125bc5ee96ecf1846d7f755a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,10 @@ PHP                                                                        NEWS
 - Core:
   . Fixed Request #66574i (Allow multiple paths in php_ini_scanned_path). (Remi)
 
+- Date:
+  . Fixed bug #45528 (Allow the DateTimeZone constructor to accept timezones
+    per offset too). (Derick)
+
 - LDAP:
   . Implemented ldap_modify_batch (https://wiki.php.net/rfc/ldap_modify_batch).
   (Ondřej Hošek)
index a61d9db3c1992347aacc0ed24b28216272f63cfe..f6b12bc42ed9b69ade1dd18c26c7bb42b664ead1 100644 (file)
@@ -3638,7 +3638,7 @@ static int timezone_initialize(php_timezone_obj *tzobj, /*const*/ char *tz TSRML
                efree(dummy_t);
                return FAILURE;
        } else {
-               set_timezone_from_timelib_time(tzobj, dummy_t TSRMLS_CC);
+               set_timezone_from_timelib_time(tzobj, dummy_t);
                efree(dummy_t);
                return SUCCESS;
        }