Merge pull request #14222 from pstructures/PSdevelop
Error Caused by $taskid Variable not existing
This commit is contained in:
commit
ab32e3e1a9
@ -285,7 +285,7 @@ if ($action == 'addtime' && $user->rights->projet->lire && GETPOST('formfilterac
|
|||||||
foreach ($timespent_duration as $key => $val)
|
foreach ($timespent_duration as $key => $val)
|
||||||
{
|
{
|
||||||
$object->fetch($key);
|
$object->fetch($key);
|
||||||
|
$taskid = $object->id;
|
||||||
if (GETPOSTISSET($taskid.'progress')) $object->progress = GETPOST($taskid.'progress', 'int');
|
if (GETPOSTISSET($taskid.'progress')) $object->progress = GETPOST($taskid.'progress', 'int');
|
||||||
else unset($object->progress);
|
else unset($object->progress);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user