Commit 8cf6e57f authored by Tim Schoondergang's avatar Tim Schoondergang
Browse files

alleen aanroepen als het een string is

parent a5a42e7e
Pipeline #7726 failed with stage
in 28 seconds
......@@ -1023,7 +1023,10 @@ class DB
fputcsv($fp, array_keys($row), $delimiter, $enclosure, $escape_char);
}
foreach ($row as $k => $v) {
$row[$k] = self::cleanFromDB($v);
if (is_string($v)) {
$v = self::cleanFromDB($v);
}
$row[$k] = $v;
}
fputcsv($fp, $row, $delimiter, $enclosure, $escape_char);
$a++;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment