diff --git a/htdocs/projet/tasks/list.php b/htdocs/projet/tasks/list.php index 419d7f35ec1..85b6c5a03a7 100644 --- a/htdocs/projet/tasks/list.php +++ b/htdocs/projet/tasks/list.php @@ -5,7 +5,8 @@ * Copyright (C) 2018 Ferran Marcet * Copyright (C) 2021 Alexandre Spangaro * Copyright (C) 2023 Gauthier VERDOL - * Copyright (C) 2024 MDW + * Copyright (C) 2024 MDW + * Copyright (C) 2024 Frédéric France * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1351,7 +1352,7 @@ while ($i < $imaxinloop) { if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 't.planned_workload'; } - if (!isset($totalarray['val']['planned_workload'])) { + if (!isset($totalarray['val']['t.planned_workload'])) { $totalarray['val']['t.planned_workload'] = 0; } $totalarray['val']['t.planned_workload'] += $obj->planned_workload;