mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-27 17:28:39 +00:00
Fix tests & deprecation notice
This commit is contained in:
parent
202a66ce02
commit
21e7ccef3d
11 changed files with 25 additions and 21 deletions
|
@ -26,7 +26,7 @@ class PinboardController extends Controller
|
|||
$pinboard->setProducer($this->get('wallabag_import.producer.redis.pinboard'));
|
||||
}
|
||||
|
||||
if ($form->isValid()) {
|
||||
if ($form->isSubmitted() && $form->isValid()) {
|
||||
$file = $form->get('file')->getData();
|
||||
$markAsRead = $form->get('mark_as_read')->getData();
|
||||
$name = 'pinboard_'.$this->getUser()->getId().'.json';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue