From 019386bc36153986545d8d30d2dd2d0ca4c94e04 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 10 Nov 2010 22:18:50 +0000 Subject: [PATCH] Fix: XSS injection --- htdocs/lib/functions.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/lib/functions.lib.php b/htdocs/lib/functions.lib.php index 0aa1a131d2f..8d0421dc675 100644 --- a/htdocs/lib/functions.lib.php +++ b/htdocs/lib/functions.lib.php @@ -40,8 +40,8 @@ if (! defined('ADODB_DATE_VERSION')) include_once(DOL_DOCUMENT_ROOT."/includes/a /** * Return value of a param into get or post variable * @param paramname Name of parameter to found - * @param check Type of check (security) - * @param type Type of variable (0 = get or post, 1 = only get, 2 = only post) + * @param check Type of check + * @param type Type of method (0 = get or post, 1 = only get, 2 = only post) * @return string Value found */ function GETPOST($paramname,$check='',$type=0)