diff --git a/htdocs/projet/activity/perweek.php b/htdocs/projet/activity/perweek.php index f3279d7300b..5fb7aeaf9e7 100644 --- a/htdocs/projet/activity/perweek.php +++ b/htdocs/projet/activity/perweek.php @@ -308,7 +308,7 @@ if ($action == 'addtime' && $user->hasRight('projet', 'lire') && GETPOST('formfi } } - if (!$updateoftaskdone) { // Check to update progress if no update were done on task. + if (!$updateoftaskdone && GETPOSTISSET($taskid.'progress')) { // Check to update progress if no update were done on task. $object->fetch($tmptaskid); //var_dump($object->progress); //var_dump(GETPOST($tmptaskid . 'progress', 'int')); exit;