aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-02-13 14:06:57 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-02-13 14:06:57 +0100
commit44560c77677d1d2a0eda0bf63f56c9dff033744f (patch)
treec8c5ab6b1354782c82139a12372c3532001124fd /src/Wallabag/ImportBundle
parent0182cdaec430a72379ef96ade05300e7b4d0efd7 (diff)
downloadwallabag-44560c77677d1d2a0eda0bf63f56c9dff033744f.tar.gz
wallabag-44560c77677d1d2a0eda0bf63f56c9dff033744f.tar.zst
wallabag-44560c77677d1d2a0eda0bf63f56c9dff033744f.zip
CS
Diffstat (limited to 'src/Wallabag/ImportBundle')
-rw-r--r--src/Wallabag/ImportBundle/Import/InstapaperImport.php2
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;