mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 17:13:03 +01:00
FIX #14222
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user