Infolog: Fix dates were shown in wrong timezone after saving

Not necessary to change times back as we changed $to_write, not $values
This commit is contained in:
nathan 2023-06-07 10:26:59 -06:00
parent bcf211c93f
commit f32d445f9e

View File

@ -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);