Skip to content

Commit 143f807

Browse files
committed
Clean code
1 parent 3270d79 commit 143f807

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

htdocs/cabinetmed/listconsult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
// Get parameters
5050
$action = GETPOST('action', 'aZ09') ? GETPOST('action', 'aZ09') : 'view'; // The action 'create'/'add', 'edit'/'update', 'view', ...
5151
$massaction = GETPOST('massaction', 'alpha'); // The bulk action (combo box choice into lists)
52-
$toselect = GETPOST('toselect', 'array'); // Array of ids of elements selected into a list
52+
$toselect = GETPOST('toselect', 'array:int'); // Array of ids of elements selected into a list
5353
$optioncss = GETPOST('optioncss', 'aZ09');
5454
$contextpage= GETPOST('contextpage', 'aZ')?GETPOST('contextpage', 'aZ'):'consultationlist'; // To manage different context of search
5555
$mode = GETPOST('mode', 'aZ'); // The output mode ('list', 'kanban', 'hierarchy', 'calendar', ...)

htdocs/cabinetmed/patients.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
$action = GETPOST('action', 'aZ09');
5151
$massaction = GETPOST('massaction', 'alpha');
52-
$toselect = GETPOST('toselect', 'array');
52+
$toselect = GETPOST('toselect', 'array:int');
5353
$contextpage = GETPOST('contextpage', 'aZ') ?GETPOST('contextpage', 'aZ') : 'patientlist';
5454
$optioncss=GETPOST('optioncss', 'alpha');
5555
$mode=GETPOST("mode", 'alpha');

0 commit comments

Comments
 (0)