Update subtask spent based on the time tracking

This commit is contained in:
Frederic Guillot
2015-02-07 21:44:51 -05:00
parent 2d890cbc71
commit c9cc82eec8
4 changed files with 90 additions and 44 deletions

View File

@@ -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();