2
0
forked from Wavyzz/dolibarr

FIX Edit of ticket module parameters erased others

This commit is contained in:
Laurent Destailleur
2019-10-04 14:04:31 +02:00
parent c3fa770871
commit 503973cec9
3 changed files with 60 additions and 106 deletions

View File

@@ -540,6 +540,9 @@ function GETPOST($paramname, $check = 'none', $method = 0, $filter = null, $opti
$out=dol_string_nohtmltag($out);
}
break;
case 'restricthtml': // Recommended for most html textarea
$out=dol_string_onlythesehtmltags($out, 0);
break;
case 'custom':
if (empty($filter)) return 'BadFourthParameterForGETPOST';
$out=filter_var($out, $filter, $options);