Merge pull request #8994 from hregis/6.0_multicompany

Fix: to avoid deleting line breaks
This commit is contained in:
Laurent Destailleur 2018-06-22 15:00:26 +02:00 committed by GitHub
commit dab264c641
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -449,7 +449,7 @@ function GETPOST($paramname, $check='', $method=0, $filter=NULL, $options=NULL,
if (! is_array($out) || empty($out)) $out=array();
break;
case 'nohtml':
$out=dol_string_nohtmltag($out);
$out=dol_string_nohtmltag($out, 0);
break;
case 'alphanohtml': // Recommended for search params
$out=trim($out);