diff --git a/htdocs/compta/accounting-files.php b/htdocs/compta/accounting-files.php index 4b3d0e6e94c..01738d91a06 100644 --- a/htdocs/compta/accounting-files.php +++ b/htdocs/compta/accounting-files.php @@ -614,6 +614,7 @@ if (isModEnabled('projet')) { print '
'; } +$i = 0; foreach ($listofchoices as $choice => $val) { if (empty($val['enabled'])) { continue; // list not qualified @@ -623,9 +624,10 @@ foreach ($listofchoices as $choice => $val) { $disabled = ' disabled'; } $checked = (((!GETPOSTISSET('search') && $action != 'searchfiles') || GETPOST($choice)) ? ' checked="checked"' : ''); - print '