Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion classes/file_search.php
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ public static function make_where_clause(object $criteria): array {
*/
public static function get_id_from_csv(string $line): int {
// Interpret the last line as a csv line.
$csv = str_getcsv($line);
$csv = str_getcsv($line, ",", "\"", "\\");
// Check a few columns to ensure we have a valid line.
if (empty($csv[self::CSV_CONTEXTID])) {
return 0;
Expand Down
Loading