Merge pull request #14248 from megalogi/patch-1
FIX Lose HTML tags when adding a new product/service into a document
This commit is contained in:
commit
090d913017
@ -790,7 +790,7 @@ if (empty($reshook))
|
||||
} elseif ($action == 'addline' && $usercancreate) { // Add line
|
||||
// Set if we used free entry or predefined product
|
||||
$predef = '';
|
||||
$product_desc = (GETPOST('dp_desc') ?GETPOST('dp_desc') : '');
|
||||
$product_desc = (GETPOST('dp_desc', 'none') ?GETPOST('dp_desc', 'none') : '');
|
||||
$price_ht = GETPOST('price_ht');
|
||||
$price_ht_devise = GETPOST('multicurrency_price_ht');
|
||||
$prod_entry_mode = GETPOST('prod_entry_mode');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user