Fix reading speed not defined when user was created via config page

Fix #2004
This commit is contained in:
Nicolas Lœuillet 2016-04-30 15:06:31 +02:00
parent f0de35d2ee
commit 823397f2d6
No known key found for this signature in database
GPG key ID: 5656BE27E1E34D0A

View 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);