fix phpstan (#30032)
This commit is contained in:
parent
a3b05b6989
commit
eecfb5fb43
1 changed files with 3 additions and 2 deletions
|
|
@ -5,7 +5,8 @@
|
|||
* Copyright (C) 2018 Ferran Marcet <fmarcet@2byte.es>
|
||||
* Copyright (C) 2021 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
* Copyright (C) 2023 Gauthier VERDOL <gauthier.verdol@atm-consulting.fr>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
|
||||
*
|
||||
* 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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue