summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-07 21:44:51 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-07 21:44:51 -0500
commitc9cc82eec898654846c3c7e409269166cc5dba7c (patch)
tree4ddc6479ff5447627f07a40f37024420e2bd0a71 /app/Controller
parent2d890cbc712371f17ba4bbceb02af3c5ba04e6da (diff)
Update subtask spent based on the time tracking
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Config.php b/app/Controller/Config.php
index 9005c300..01c7ad53 100644
--- a/app/Controller/Config.php
+++ b/app/Controller/Config.php
@@ -38,7 +38,7 @@ class Config extends Base
{
if ($this->request->isPost()) {
- $values = $this->request->getValues();
+ $values = $this->request->getValues() + array('subtask_restriction' => 0, 'subtask_time_tracking' => 0);
if ($this->config->save($values)) {
$this->config->reload();