From 2bf034fe07381b18e41bed8b64b6710d02f65287 Mon Sep 17 00:00:00 2001 From: "Laurent Destailleur (aka Eldy)" Date: Mon, 27 Jan 2025 10:03:53 +0100 Subject: [PATCH] Clean code --- htdocs/user/agenda.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/user/agenda.php b/htdocs/user/agenda.php index 60e4cb1863d..6b4719d18a4 100644 --- a/htdocs/user/agenda.php +++ b/htdocs/user/agenda.php @@ -50,7 +50,7 @@ if (!isset($id) || empty($id)) { } if (GETPOST('actioncode', 'array')) { - $actioncode = GETPOST('actioncode', 'array', 3); + $actioncode = GETPOST('actioncode', 'array:alpha', 3); if (!count($actioncode)) { $actioncode = '0'; }