This commit is contained in:
zhouxin
2022-04-15 02:30:49 +00:00
parent 2835c7da3e
commit 773895ec3b
+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 substr($line, 0, 1) != '"' and $col == -1)
{
$data[$row][0] = trim($line, '"');
}