* [bug #66427] fix doc-exportZentaoList not work sometimes.

This commit is contained in:
sunhao
2025-12-03 09:13:37 +08:00
committed by wangyuting
parent e2ccab7639
commit dfa24ea0b5
+1 -1
View File
@@ -1691,7 +1691,7 @@ class docZen extends doc
if(isset($col->map)) $value = zget($col->map, $value);
if(isset($col->type) && $col->type == 'user' && isset($users[$value])) $value = zget($users, $value);
if(isset($col->type) && $col->type == 'status' && isset($col->statusMap)) $value = zget($col->statusMap, $value);
$rowData[$col->name] = array('text' => "$value");
$rowData[$col->name] = array('text' => (is_array($value) || is_object($value)) ? '' : strval($value));
}
$tableProps['data'][] = $rowData;
}