FIX: SUPPLIER_PROPOSAL_FREE_TEXT get HTML tags removed
This commit is contained in:
parent
3cefab32d5
commit
bf2137089f
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ if ($action == 'set') {
|
|||
dolibarr_set_const($db, "SUPPLIER_PROPOSAL_ADDON", $value, 'chaine', 0, '', $conf->entity);
|
||||
} elseif (preg_match('/set_(.*)/', $action, $reg)) {
|
||||
$code = $reg[1];
|
||||
$value = (GETPOST($code) ? GETPOST($code) : 1);
|
||||
$value = (GETPOST($code,'restricthtml') ? GETPOST($code,'restricthtml') : 1);
|
||||
|
||||
$res = dolibarr_set_const($db, $code, $value, 'chaine', 0, '', $conf->entity);
|
||||
if (!($res > 0)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue