Fix tests & deprecation notice

This commit is contained in:
Jeremy Benoist
2016-12-14 11:54:30 +01:00
parent 202a66ce02
commit 21e7ccef3d
11 changed files with 25 additions and 21 deletions

View File

@ -26,7 +26,7 @@ class InstapaperController extends Controller
$instapaper->setProducer($this->get('wallabag_import.producer.redis.instapaper'));
}
if ($form->isValid()) {
if ($form->isSubmitted() && $form->isValid()) {
$file = $form->get('file')->getData();
$markAsRead = $form->get('mark_as_read')->getData();
$name = 'instapaper_'.$this->getUser()->getId().'.csv';