$handle = fopen($this->filepath, 'rb');
while (false !== ($data = fgetcsv($handle, 10240))) {
if ('URL' === $data[0]) {
- continue;
+ break;
}
// last element in the csv is the folder where the content belong
);
}
- $entry->setArchived($importedEntry['is_archived']);
+ $entry->updateArchived($importedEntry['is_archived']);
$entry->setStarred($importedEntry['is_starred']);
$this->em->persist($entry);