We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f36f420 commit b22fc7aCopy full SHA for b22fc7a
lib/Controller/AjaxController.php
@@ -231,7 +231,8 @@ public function stopTimer($name) {
231
foreach($running as $r){
232
$r->setRunning(0);
233
$r->setDuration($now - $r->start);
234
- $r->setName($name);
+ if ($name != 'no description')
235
+ $r->setName($name);
236
$this->workIntervalMapper->update($r);
237
}
238
return new JSONResponse(["WorkIntervals" => json_decode(json_encode($running), true)]);
0 commit comments