From e7dfdd27b1b43a35e69f97869088bb41b239ea0e Mon Sep 17 00:00:00 2001 From: jfefe Date: Sun, 11 May 2014 12:33:49 +0200 Subject: [PATCH] Fix: filter on POST value too restrictive --- htdocs/resource/card.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/resource/card.php b/htdocs/resource/card.php index 76ea7f99900..1ecf827fe39 100755 --- a/htdocs/resource/card.php +++ b/htdocs/resource/card.php @@ -42,8 +42,8 @@ $langs->load("main"); // Get parameters $id = GETPOST('id','int'); $action = GETPOST('action','alpha'); -$ref = GETPOST('ref','alpha'); -$description = GETPOST('description','alpha'); +$ref = GETPOST('ref'); +$description = GETPOST('description'); $fk_code_type_resource = GETPOST('fk_code_type_resource','alpha'); // Protection if external user