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:
parent
202a66ce02
commit
21e7ccef3d
11 changed files with 25 additions and 21 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue