From 0e1ea3dbde24878678861943099dfa3fa84cbf5c Mon Sep 17 00:00:00 2001 From: thibdrev Date: Fri, 19 Jan 2024 14:40:55 +0100 Subject: [PATCH] qual:phpstan htdocs/cron/list.php 143 Property CommonObject::$id (int) does not accept array|string. --- htdocs/cron/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');