diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-02-13 14:06:57 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-02-13 14:06:57 +0100 |
commit | 44560c77677d1d2a0eda0bf63f56c9dff033744f (patch) | |
tree | c8c5ab6b1354782c82139a12372c3532001124fd /src/Wallabag | |
parent | 0182cdaec430a72379ef96ade05300e7b4d0efd7 (diff) | |
download | wallabag-44560c77677d1d2a0eda0bf63f56c9dff033744f.tar.gz wallabag-44560c77677d1d2a0eda0bf63f56c9dff033744f.tar.zst wallabag-44560c77677d1d2a0eda0bf63f56c9dff033744f.zip |
CS
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/InstapaperImport.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Import/InstapaperImport.php b/src/Wallabag/ImportBundle/Import/InstapaperImport.php index 3a9f08b4..5a18c7c0 100644 --- a/src/Wallabag/ImportBundle/Import/InstapaperImport.php +++ b/src/Wallabag/ImportBundle/Import/InstapaperImport.php | |||
@@ -62,7 +62,7 @@ class InstapaperImport extends AbstractImport | |||
62 | } | 62 | } |
63 | 63 | ||
64 | $entries = []; | 64 | $entries = []; |
65 | $handle = fopen($this->filepath, 'r'); | 65 | $handle = fopen($this->filepath, 'rb'); |
66 | while (false !== ($data = fgetcsv($handle, 10240))) { | 66 | while (false !== ($data = fgetcsv($handle, 10240))) { |
67 | if ('URL' === $data[0]) { | 67 | if ('URL' === $data[0]) { |
68 | continue; | 68 | continue; |