summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIgnace Nyamagana Butera <nyamsprod@gmail.com>2015-03-23 08:51:57 +0100
committerIgnace Nyamagana Butera <nyamsprod@gmail.com>2015-03-23 09:32:00 +0100
commiteae1c4229b4e414399281a55acd9c0b4d0514994 (patch)
tree3b644b8f7ff592b697355b65d19549e5dcc32519 /src
parent6bab6be9b2b49fbe525e19404be3d2fc70f8f48e (diff)
downloadcsv-eae1c4229b4e414399281a55acd9c0b4d0514994.zip
csv-eae1c4229b4e414399281a55acd9c0b4d0514994.tar.gz
csv-eae1c4229b4e414399281a55acd9c0b4d0514994.tar.bz2
bug fix DROP_NEW_LINE can be removed with setFlags
Diffstat (limited to 'src')
-rw-r--r--src/Config/Controls.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Config/Controls.php b/src/Config/Controls.php
index 538e77c..460f984 100644
--- a/src/Config/Controls.php
+++ b/src/Config/Controls.php
@@ -221,7 +221,7 @@ trait Controls
throw new InvalidArgumentException('you should use a `SplFileObject` Constant');
}
- $this->flags = $flags|SplFileObject::READ_CSV|SplFileObject::DROP_NEW_LINE;
+ $this->flags = $flags|SplFileObject::READ_CSV;
return $this;
}