* Fix bug #27891,27610.

This commit is contained in:
tanghucheng
2022-09-26 08:36:57 +08:00
parent 995653a760
commit 142da875c3
2 changed files with 10 additions and 7 deletions
+9 -6
View File
@@ -12,14 +12,17 @@
?>
<?php
echo '"'. implode('","', $fields) . '"' . "\n";
foreach($rows as $row)
if($rows)
{
echo '"';
foreach($fields as $fieldName => $fieldLabel)
foreach($rows as $row)
{
isset($row->$fieldName) ? print(str_replace(array('"', '&nbsp;'), array('“', ' '), htmlspecialchars_decode(strip_tags($row->$fieldName, '<img>')))) : print('');
echo '","';
echo '"';
foreach($fields as $fieldName => $fieldLabel)
{
isset($row->$fieldName) ? print(str_replace(array('"', '&nbsp;'), array('“', ' '), htmlspecialchars_decode(strip_tags($row->$fieldName, '<img>')))) : print('');
echo '","';
}
echo '"' . "\n";
}
echo '"' . "\n";
}
if($this->post->kind == 'task' && $config->vision != 'lite') echo $this->lang->file->childTaskTips;