Skip to content

Commit 962a9cd

Browse files
committed
Merge branch 'PHP-7.4'
2 parents cdd4e59 + 22516b7 commit 962a9cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/date/php_date.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2571,7 +2571,7 @@ static int php_date_initialize_from_hash(php_date_obj **dateobj, HashTable *myht
25712571
zval tmp_obj;
25722572
timelib_tzinfo *tzi;
25732573

2574-
z_date = zend_hash_str_find(myht, "date", sizeof("data")-1);
2574+
z_date = zend_hash_str_find(myht, "date", sizeof("date")-1);
25752575
if (z_date && Z_TYPE_P(z_date) == IS_STRING) {
25762576
zval *z_timezone_type = zend_hash_str_find(myht, "timezone_type", sizeof("timezone_type")-1);
25772577
if (z_timezone_type && Z_TYPE_P(z_timezone_type) == IS_LONG) {

0 commit comments

Comments
 (0)