X-Git-Url: https://git.immae.eu/?p=github%2Fwallabag%2Fwallabag.git;a=blobdiff_plain;f=src%2FWallabag%2FImportBundle%2FImport%2FPinboardImport.php;h=995d1f2ca99f7ddb0ab330f89fcbb3bb5ff59cf5;hp=110b046422ae3c25a7f5be34f59c12e4d11938b2;hb=9f8f188d928b47503d39348c5990379a572b570a;hpb=4d0c632c70ea50d459c3c55ddda2e0f394dd51cb diff --git a/src/Wallabag/ImportBundle/Import/PinboardImport.php b/src/Wallabag/ImportBundle/Import/PinboardImport.php index 110b0464..995d1f2c 100644 --- a/src/Wallabag/ImportBundle/Import/PinboardImport.php +++ b/src/Wallabag/ImportBundle/Import/PinboardImport.php @@ -80,6 +80,18 @@ class PinboardImport extends AbstractImport return true; } + /** + * {@inheritdoc} + */ + public function validateEntry(array $importedEntry) + { + if (empty($importedEntry['href'])) { + return false; + } + + return true; + } + /** * {@inheritdoc} */