Merge branch 'fixbugs_zhouxin_11376' into 'master'

* Fix bug #11376.

See merge request easycorp/zentaopms!2958
This commit is contained in:
王怡栋
2022-04-15 02:38:34 +00:00
+1 -1
View File
@@ -623,7 +623,7 @@ class fileModel extends model
$line = str_replace('""', '"', $line);
/* if only one column then line is the data. */
if(strpos($line, ',') === false and $col == -1)
if(strpos($line, ',') === false and $line[0] != '"' and $col == -1)
{
$data[$row][0] = trim($line, '"');
}