]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
CS 3882/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Wed, 13 Feb 2019 13:06:57 +0000 (14:06 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Wed, 13 Feb 2019 13:06:57 +0000 (14:06 +0100)
src/Wallabag/ImportBundle/Import/InstapaperImport.php

index 3a9f08b4a62c463c3528db2bfe2f915fc7e82878..5a18c7c0c6c82c0426ba8d2b436f6beed79b55bc 100644 (file)
@@ -62,7 +62,7 @@ class InstapaperImport extends AbstractImport
         }
 
         $entries = [];
-        $handle = fopen($this->filepath, 'r');
+        $handle = fopen($this->filepath, 'rb');
         while (false !== ($data = fgetcsv($handle, 10240))) {
             if ('URL' === $data[0]) {
                 continue;