Ignore first line in CSV import to fix other languages, instead use our array

This commit is contained in:
Miles Lott 2001-05-29 02:57:27 +00:00
parent 39100cf802
commit 3e4e2d5a63

View File

@ -85,7 +85,11 @@
$row++; $row++;
if ($row == 1) if ($row == 1)
{ {
$header = $data; // Changed here to ignore the header, set to our array
while(list($lhs,$rhs) = each($this->import))
{
$header[] = $lhs;
}
} }
else else
{ {