Skip to content

Commit 55881d3

Browse files
committed
Fix PHP 8.4 deprecation warning on str_getcsv() use
1 parent d6a6d04 commit 55881d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

program/lib/Roundcube/rcube_csv2vcard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ protected function parse_line($line)
521521
return [];
522522
}
523523

524-
$fields = str_getcsv($line);
524+
$fields = str_getcsv($line, ',', '"', "\\");
525525

526526
return $fields;
527527
}

0 commit comments

Comments
 (0)