|
1 | 1 | <?php |
2 | 2 | /* Copyright (C) 2011-2024 Alexandre Spangaro <alexandre@inovea-conseil.com> |
3 | 3 | * Copyright (C) 2014-2020 Laurent Destailleur <eldy@users.sourceforge.net> |
4 | | - * Copyright (C) 2015 Jean-François Ferry <jfefe@aternatik.fr> |
5 | | - * Copyright (C) 2015 Charlie BENKE <charlie@patas-monkey.com> |
6 | | - * Copyright (C) 2018-2024 Frédéric France <frederic.france@free.fr> |
7 | | - * Copyright (C) 2021 Gauthier VERDOL <gauthier.verdol@atm-consulting.fr> |
8 | | - * Copyright (C) 2023 Maxime Nicolas <maxime@oarces.com> |
9 | | - * Copyright (C) 2023 Benjamin GREMBI <benjamin@oarces.com> |
10 | | - * Copyright (C) 2024-2025 MDW <mdeweerd@users.noreply.github.com> |
11 | | - * Copyright (C) 2024-2025 Nick Fragoulis |
| 4 | + * Copyright (C) 2015 Jean-François Ferry <jfefe@aternatik.fr> |
| 5 | + * Copyright (C) 2015 Charlie BENKE <charlie@patas-monkey.com> |
| 6 | + * Copyright (C) 2018-2024 Frédéric France <frederic.france@free.fr> |
| 7 | + * Copyright (C) 2021 Gauthier VERDOL <gauthier.verdol@atm-consulting.fr> |
| 8 | + * Copyright (C) 2023 Maxime Nicolas <maxime@oarces.com> |
| 9 | + * Copyright (C) 2023 Benjamin GREMBI <benjamin@oarces.com> |
| 10 | + * Copyright (C) 2024-2025 MDW <mdeweerd@users.noreply.github.com> |
| 11 | + * Copyright (C) 2024-2025 Nick Fragoulis |
12 | 12 | * |
13 | 13 | * This program is free software; you can redistribute it and/or modify |
14 | 14 | * it under the terms of the GNU General Public License as published by |
|
129 | 129 |
|
130 | 130 | $upload_dir = $conf->salaries->multidir_output[$conf->entity]; |
131 | 131 |
|
| 132 | +$error = 0; |
132 | 133 |
|
133 | 134 | /* |
134 | 135 | * Actions |
|
461 | 462 |
|
462 | 463 | // Action to update one extrafield |
463 | 464 | if ($action == 'update_extras' && $permissiontoeditextra) { |
464 | | - $object->oldcopy = dol_clone($object, 2); |
| 465 | + $object->oldcopy = dol_clone($object, 2); // @phan-suppress-current-line PhanTypeMismatchProperty |
465 | 466 |
|
466 | 467 | $attribute = GETPOST('attribute', 'aZ09'); |
467 | 468 |
|
|
0 commit comments