Merge pull request #14222 from pstructures/PSdevelop

Error Caused by $taskid Variable not existing
This commit is contained in:
Laurent Destailleur 2020-07-18 19:15:28 +02:00 committed by GitHub
commit ab32e3e1a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,7 +285,7 @@ if ($action == 'addtime' && $user->rights->projet->lire && GETPOST('formfilterac
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);