New type for GETPOST

This commit is contained in:
phf 2016-09-08 10:25:48 +02:00
parent 729458ecf8
commit d3a7b5453b

View File

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