* Modify export data.

This commit is contained in:
caoyanyi
2022-04-24 09:21:54 +08:00
parent be8dd4535c
commit 8d21788052
+1 -1
View File
@@ -17,7 +17,7 @@ foreach($rows as $row)
echo '"';
foreach($fields as $fieldName => $fieldLabel)
{
isset($row->$fieldName) ? print(str_replace('"', '“', htmlspecialchars_decode(strip_tags($row->$fieldName, '<img>')))) : print('');
isset($row->$fieldName) ? print(str_replace(array('"', '&nbsp;'), array('“', ' '), htmlspecialchars_decode(strip_tags($row->$fieldName, '<img>')))) : print('');
echo '","';
}
echo '"' . "\n";