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

This commit is contained in:
sunhao
2025-11-25 15:38:14 +08:00
parent 079297ef1e
commit b0df27a382
+1 -1
View File
@@ -1677,7 +1677,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;
}