]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fix reading speed not defined when user was created via config page
authorNicolas Lœuillet <nicolas@loeuillet.org>
Sat, 30 Apr 2016 13:06:31 +0000 (15:06 +0200)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Sat, 30 Apr 2016 13:06:31 +0000 (15:06 +0200)
Fix #2004

src/Wallabag/CoreBundle/Controller/ConfigController.php

index ccc3e8a1dae2e3f3e63cc5811637e62eacafd85a..4f75511bf62cf5c7ee23b5ceb5eaeeb16a89248f 100644 (file)
@@ -140,6 +140,7 @@ class ConfigController extends Controller
             $config->setItemsPerPage($this->getParameter('wallabag_core.items_on_page'));
             $config->setRssLimit($this->getParameter('wallabag_core.rss_limit'));
             $config->setLanguage($this->getParameter('wallabag_core.language'));
+            $config->setReadingSpeed($this->getParameter('wallabag_core.reading_speed'));
 
             $em->persist($config);