FIX #14222
This commit is contained in:
parent
ecfcbeef26
commit
bb4543167f
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user