From 00d1b26d0689dbc62355a622d584299b08cd6793 Mon Sep 17 00:00:00 2001 From: thibdrev Date: Fri, 19 Jan 2024 08:46:08 +0100 Subject: [PATCH] qual: phpstan htdocs/admin/defaultvalues.php 163 Property CommonObject::$id (int) does not accept array|string. htdocs/admin/defaultvalues.php 186 Property CommonObject::$id (int) does not accept array|string. --- htdocs/admin/defaultvalues.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/admin/defaultvalues.php b/htdocs/admin/defaultvalues.php index bf7eb7d27bf..5c92e5acd14 100644 --- a/htdocs/admin/defaultvalues.php +++ b/htdocs/admin/defaultvalues.php @@ -40,7 +40,7 @@ if (!$user->admin) { accessforbidden(); } -$id = GETPOST('rowid', 'int'); +$id = GETPOSTINT('rowid'); $action = GETPOST('action', 'aZ09'); $optioncss = GETPOST('optionscss', 'alphanohtml');