Skip to content

Commit cc13af6

Browse files
author
Ilia Alshanetsky
committed
Fixed bug #20716.
1 parent 0d7957b commit cc13af6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ext/standard/file.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2210,11 +2210,6 @@ PHP_FUNCTION(fgetcsv)
22102210
if (enclosure && *bptr == enclosure) {
22112211
bptr++; /* move on to first character in field */
22122212

2213-
/* Check if there is an end to the enclosure */
2214-
if (!strchr(bptr, enclosure)) {
2215-
continue;
2216-
}
2217-
22182213
/* 2A. handle enclosure delimited field */
22192214
while (*bptr) {
22202215
if (*bptr == enclosure) {

0 commit comments

Comments
 (0)