X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FImportBundle%2FImport%2FPocketImport.php;h=238ddbd1f71548b304a24489b095a0e98f0b6fd4;hb=79d0e38e7ff975b2e0306d3dd96f57509fd84aef;hp=1ec82a41290b7f128d6f9a67758bcfca205efc66;hpb=c32ae320fec4135f5b32d57ef88349317a3b1f3f;p=github%2Fwallabag%2Fwallabag.git 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 $entry = $this->contentProxy->updateEntry($entry, $url); // 0, 1, 2 - 1 if the item is archived - 2 if the item should be deleted - if ($pocketEntry['status'] == 1 | $this->markAsRead) { + if ($pocketEntry['status'] == 1 || $this->markAsRead) { $entry->setArchived(true); }