Error on time pent page where progress was getting unset

This commit is contained in:
Matt Sidnell 2020-07-12 20:34:04 +01:00
parent 39104009ef
commit 378c8c4691

View File

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