diff --git a/htdocs/cron/list.php b/htdocs/cron/list.php index 3c3cae35e12..d93b8e445ac 100644 --- a/htdocs/cron/list.php +++ b/htdocs/cron/list.php @@ -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');