Skip to content

Commit

Permalink
#285 [Task] fix: task id in attribution action
Browse files Browse the repository at this point in the history
  • Loading branch information
Théo David committed Jul 24, 2023
1 parent 2b3931c commit 3120963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/timespent_range.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
$action = 'assign_task';
$error = 0;

$result = $task->fetch($taskID);
$task->fetch(GETPOST('assigned_task_id'));

if (!GETPOST('type')) {
setEventMessages($langs->transnoentitiesnoconv('ErrorFieldRequired', $langs->transnoentitiesnoconv('Type')), [], 'errors');
Expand Down

0 comments on commit 3120963

Please sign in to comment.