aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Import
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-03-04 10:04:51 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-03-04 10:04:51 +0100
commit79d0e38e7ff975b2e0306d3dd96f57509fd84aef (patch)
treea359ef1a392865e7d41f3f927594d1480ebe1df8 /src/Wallabag/ImportBundle/Import
parentc32ae320fec4135f5b32d57ef88349317a3b1f3f (diff)
downloadwallabag-79d0e38e7ff975b2e0306d3dd96f57509fd84aef.tar.gz
wallabag-79d0e38e7ff975b2e0306d3dd96f57509fd84aef.tar.zst
wallabag-79d0e38e7ff975b2e0306d3dd96f57509fd84aef.zip
Adding test
Reformat json file (thanks pro.jsonlint.com)
Diffstat (limited to 'src/Wallabag/ImportBundle/Import')
-rw-r--r--src/Wallabag/ImportBundle/Import/PocketImport.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Import/PocketImport.php b/src/Wallabag/ImportBundle/Import/PocketImport.php
index 1ec82a41..238ddbd1 100644
--- a/src/Wallabag/ImportBundle/Import/PocketImport.php
+++ b/src/Wallabag/ImportBundle/Import/PocketImport.php
@@ -222,7 +222,7 @@ class PocketImport implements ImportInterface
222 $entry = $this->contentProxy->updateEntry($entry, $url); 222 $entry = $this->contentProxy->updateEntry($entry, $url);
223 223
224 // 0, 1, 2 - 1 if the item is archived - 2 if the item should be deleted 224 // 0, 1, 2 - 1 if the item is archived - 2 if the item should be deleted
225 if ($pocketEntry['status'] == 1 | $this->markAsRead) { 225 if ($pocketEntry['status'] == 1 || $this->markAsRead) {
226 $entry->setArchived(true); 226 $entry->setArchived(true);
227 } 227 }
228 228