From: Jeremy Benoist Date: Wed, 13 Feb 2019 13:06:57 +0000 (+0100) Subject: CS X-Git-Tag: 2.3.7~7^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=inline;h=44560c77677d1d2a0eda0bf63f56c9dff033744f;p=github%2Fwallabag%2Fwallabag.git CS --- 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 } $entries = []; - $handle = fopen($this->filepath, 'r'); + $handle = fopen($this->filepath, 'rb'); while (false !== ($data = fgetcsv($handle, 10240))) { if ('URL' === $data[0]) { continue;