Merge pull request #5717 from atm-ph/new_type_getpost

New type for GETPOST
This commit is contained in:
Juanjo Menent 2016-09-08 18:15:13 +02:00 committed by GitHub
commit 9e93cae097

View File

@ -275,6 +275,9 @@ function GETPOST($paramname,$check='',$method=0,$filter=NULL,$options=NULL)
if (empty($filter)) return 'BadFourthParameterForGETPOST';
$out=filter_var($out, $filter, $options);
break;
case 'nohtml':
$out=dol_string_nohtmltag($out);
break;
}
}