Skip to content

Commit

Permalink
[FIX#24943] Norme
Browse files Browse the repository at this point in the history
  • Loading branch information
misseur committed Jan 26, 2016
1 parent de21267 commit 00945ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CsvUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ public static function arrayToCsv(array $array, int &$csv_rows = null)
throw new \Exception("Bad csv", 400);
}

$cleanArray = str_replace("\n", " ", array_values($value));
$csv .= self::sputcsv($cleanArray, ';', '"', "\n");
$clean_array = str_replace("\n", " ", array_values($value));
$csv .= self::sputcsv($clean_array, ';', '"', "\n");
}
$csv = substr_replace($csv, "", -1);
$csv_rows = count($tokens);
Expand Down

0 comments on commit 00945ed

Please sign in to comment.