mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Fixed logic.
This commit is contained in:
parent
343af548a6
commit
69feece2bc
1 changed files with 1 additions and 1 deletions
|
@ -620,7 +620,7 @@ PHPAPI void php_strftime(INTERNAL_FUNCTION_PARAMETERS, int gmt)
|
|||
}
|
||||
|
||||
timelib_time_dtor(ts);
|
||||
if (gmt) {
|
||||
if (!gmt) {
|
||||
timelib_time_offset_dtor(offset);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue