aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Controller/PinboardController.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-12-15 22:18:45 +0100
committerGitHub <noreply@github.com>2016-12-15 22:18:45 +0100
commit24becc9717423748e6ef06c6cf1c499435af66b9 (patch)
tree9d6feb77e78d8318ebccc807356ff2d414892486 /src/Wallabag/ImportBundle/Controller/PinboardController.php
parent15cc1838501955638f3ac6e0fb3235bb6ac4e26c (diff)
parent6ad8aabb83581fdc978d0cea81be8e776a3b7198 (diff)
downloadwallabag-24becc9717423748e6ef06c6cf1c499435af66b9.tar.gz
wallabag-24becc9717423748e6ef06c6cf1c499435af66b9.tar.zst
wallabag-24becc9717423748e6ef06c6cf1c499435af66b9.zip
Merge pull request #2667 from wallabag/upgrade-symfony-32
Upgrade to Symfony 3.2
Diffstat (limited to 'src/Wallabag/ImportBundle/Controller/PinboardController.php')
-rw-r--r--src/Wallabag/ImportBundle/Controller/PinboardController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Controller/PinboardController.php b/src/Wallabag/ImportBundle/Controller/PinboardController.php
index 9c3f98d6..d0ad8aa8 100644
--- a/src/Wallabag/ImportBundle/Controller/PinboardController.php
+++ b/src/Wallabag/ImportBundle/Controller/PinboardController.php
@@ -26,7 +26,7 @@ class PinboardController extends Controller
26 $pinboard->setProducer($this->get('wallabag_import.producer.redis.pinboard')); 26 $pinboard->setProducer($this->get('wallabag_import.producer.redis.pinboard'));
27 } 27 }
28 28
29 if ($form->isValid()) { 29 if ($form->isSubmitted() && $form->isValid()) {
30 $file = $form->get('file')->getData(); 30 $file = $form->get('file')->getData();
31 $markAsRead = $form->get('mark_as_read')->getData(); 31 $markAsRead = $form->get('mark_as_read')->getData();
32 $name = 'pinboard_'.$this->getUser()->getId().'.json'; 32 $name = 'pinboard_'.$this->getUser()->getId().'.json';