This commit is contained in:
Laurent Destailleur 2020-07-18 19:19:12 +02:00
parent ecfcbeef26
commit bb4543167f

View File

@ -291,9 +291,11 @@ if ($action == 'addtime' && $user->rights->projet->lire && GETPOST('formfilterac
if (count($timespent_duration) > 0)
{
foreach ($timespent_duration as $key => $val)
{
$object->fetch($key);
$taskid = $object->id;
if (GETPOSTISSET($taskid.'progress')) $object->progress = GETPOST($taskid.'progress', 'int');
else unset($object->progress);