Error on time pent page where progress was getting unset
This commit is contained in:
parent
39104009ef
commit
378c8c4691
@ -292,7 +292,6 @@ if ($action == 'addtime' && $user->rights->projet->lire && GETPOST('formfilterac
|
||||
$object->fetch($taskid);
|
||||
|
||||
if (GETPOSTISSET($taskid.'progress')) $object->progress = GETPOST($taskid.'progress', 'int');
|
||||
else unset($object->progress);
|
||||
|
||||
$object->timespent_duration = $newduration;
|
||||
$object->timespent_fk_user = $usertoprocess->id;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user