mirror of
https://github.com/php/phd.git
synced 2026-03-23 22:52:05 +01:00
Fix deprecated fgetcsv usage by explicitly passing escape parameter (#232)
This commit is contained in:
@@ -80,7 +80,11 @@ class Package_PHP_EnhancedCHM extends Package_PHP_CHM
|
||||
$this->outputHandler->v('Preparing usernotes.', VERBOSE_MESSAGES);
|
||||
|
||||
// Decompress the 'all' file into single files - one file per sectionid.
|
||||
while($fpNotes && !feof($fpNotes) && false !== ($userNote = fgetcsv($fpNotes, 0, '|'))) {
|
||||
while (
|
||||
$fpNotes
|
||||
&& !feof($fpNotes)
|
||||
&& false !== ($userNote = fgetcsv($fpNotes, 0, '|', '"', '\\'))
|
||||
) {
|
||||
// Usernote index
|
||||
// 0 = Note ID
|
||||
// 1 = Section ID
|
||||
|
||||
Reference in New Issue
Block a user