* Fix bug#41436, show change log of workhour.

This commit is contained in:
zhujinyong
2023-12-13 13:38:22 +08:00
parent 21d02478c0
commit 41f46db770
+1 -1
View File
@@ -2146,7 +2146,7 @@ EOF;
if(strtolower($key) == 'closeddate' and $value == '') continue;
if(strtolower($key) == 'actualcloseddate' and $value == '') continue;
if(isset($old->$key) && is_string($old->$key))
if(isset($old->$key) && !is_object($old->$key) && !is_array($old->$key))
{
if($config->edition != 'open' && isset($dateFields[$key])) $old->$key = formatTime($old->$key);