* Code for fix bug #27599.

This commit is contained in:
tianshujie
2023-03-17 10:37:32 +08:00
parent cc84152bbd
commit 2955d16b91
+1 -1
View File
@@ -733,7 +733,7 @@ class fileModel extends model
$line = str_replace('""', '"', $line);
/* if only one column then line is the data. */
if(strpos($line, ',') === false and $line[0] != '"' and $col == -1)
if(strpos($line, ',') === false and isset($line[0]) and $line[0] != '"' and $col == -1)
{
$data[$row][0] = trim($line, '"');
}