mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed problem in IntlCalendar debug handler
*is_temp was not being set. Also deleted a redundant assignment to *is_temp in IntlTimeZone.
This commit is contained in:
parent
c8d8d2442e
commit
a1e97bada8
2 changed files with 2 additions and 4 deletions
|
@ -395,8 +395,6 @@ static HashTable *TimeZone_get_debug_info(zval *object, int *is_temp TSRMLS_DC)
|
|||
add_assoc_long_ex(&zv, "currentOffset", sizeof("currentOffset"),
|
||||
(long)(rawOffset + dstOffset));
|
||||
|
||||
*is_temp = 1;
|
||||
|
||||
return Z_ARRVAL(zv);
|
||||
}
|
||||
/* }}} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue