1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-17 17:08:37 +00:00

Fix tests & deprecation notice

This commit is contained in:
Jeremy Benoist 2016-12-14 11:54:30 +01:00
parent 202a66ce02
commit 21e7ccef3d
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
11 changed files with 25 additions and 21 deletions

View file

@ -39,7 +39,7 @@ abstract class BrowserController extends Controller
$wallabag = $this->getImportService();
$wallabag->setUser($this->getUser());
if ($form->isValid()) {
if ($form->isSubmitted() && $form->isValid()) {
$file = $form->get('file')->getData();
$markAsRead = $form->get('mark_as_read')->getData();
$name = $this->getUser()->getId().'.json';