qual:phpstan

htdocs/cron/list.php	143	Property CommonObject::$id (int) does not accept array|string.
This commit is contained in:
thibdrev 2024-01-19 14:40:55 +01:00 committed by GitHub
parent 26cbf2e207
commit 0e1ea3dbde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,7 +40,7 @@ $confirm = GETPOST('confirm', 'alpha');
$toselect = GETPOST('toselect', 'array'); // Array of ids of elements selected into a list
$contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : 'cronjoblist'; // To manage different context of search
$id = GETPOST('id', 'int');
$id = GETPOSTINT('id');
$limit = GETPOST('limit', 'int') ? GETPOST('limit', 'int') : $conf->liste_limit;
$sortfield = GETPOST('sortfield', 'aZ09comma');