From f32d445f9e0b3b1a3ae5b9b4db19592deda3bce6 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 7 Jun 2023 10:26:59 -0600 Subject: [PATCH] Infolog: Fix dates were shown in wrong timezone after saving Not necessary to change times back as we changed $to_write, not $values --- infolog/inc/class.infolog_bo.inc.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/infolog/inc/class.infolog_bo.inc.php b/infolog/inc/class.infolog_bo.inc.php index 8301f5acd6..ef3775b89a 100644 --- a/infolog/inc/class.infolog_bo.inc.php +++ b/infolog/inc/class.infolog_bo.inc.php @@ -1083,12 +1083,7 @@ class infolog_bo { $values['info_from'] = ''; } - - // Change new values back to user time before sending them back - if($user2server) - { - $this->time2time($values); - } + // merge changes (keeping extra values from the UI) $values_in = array_merge($values_in, $values);