Fix phan
This commit is contained in:
parent
2142860685
commit
ea7152a818
3 changed files with 4 additions and 4 deletions
|
|
@ -1043,7 +1043,7 @@ if (empty($reshook)) {
|
|||
}
|
||||
|
||||
if (!$error && isModEnabled('variants') && $prod_entry_mode != 'free') {
|
||||
if ($combinations = GETPOST('combinations', 'array:alphanothtml')) {
|
||||
if ($combinations = GETPOST('combinations', 'array:alphanohtml')) {
|
||||
//Check if there is a product with the given combination
|
||||
$prodcomb = new ProductCombination($db);
|
||||
|
||||
|
|
|
|||
|
|
@ -2556,7 +2556,7 @@ if (empty($reshook)) {
|
|||
}
|
||||
|
||||
if (!$error && isModEnabled('variants') && $prod_entry_mode != 'free') {
|
||||
if ($combinations = GETPOST('combinations', 'array:alphanothtml')) {
|
||||
if ($combinations = GETPOST('combinations', 'array:alphanohtml')) {
|
||||
//Check if there is a product with the given combination
|
||||
$prodcomb = new ProductCombination($db);
|
||||
|
||||
|
|
|
|||
|
|
@ -290,9 +290,9 @@ if ($nolinesbefore) {
|
|||
}
|
||||
if (getDolGlobalString('ENTREPOT_EXTRA_STATUS')) {
|
||||
// hide products in closed warehouse, but show products for internal transfer
|
||||
$form->select_produits(GETPOSTINT('idprod'), 'idprod', $filtertype, getDolGlobalInt('PRODUIT_LIMIT_SIZE'), $buyer->price_level, $statustoshow, 2, '', 1, array(), $buyer->id, $labelforradio, 0, 'maxwidth500 widthcentpercentminusx', 0, $statuswarehouse, GETPOST('combinations', 'array:alphanothtml'));
|
||||
$form->select_produits(GETPOSTINT('idprod'), 'idprod', $filtertype, getDolGlobalInt('PRODUIT_LIMIT_SIZE'), $buyer->price_level, $statustoshow, 2, '', 1, array(), $buyer->id, $labelforradio, 0, 'maxwidth500 widthcentpercentminusx', 0, $statuswarehouse, GETPOST('combinations', 'array:alphanohtml'));
|
||||
} else {
|
||||
$form->select_produits(GETPOSTINT('idprod'), 'idprod', $filtertype, getDolGlobalInt('PRODUIT_LIMIT_SIZE'), $buyer->price_level, $statustoshow, 2, '', 1, array(), $buyer->id, $labelforradio, 0, 'maxwidth500 widthcentpercentminusx', 0, '', GETPOST('combinations', 'array:alphanothtml'));
|
||||
$form->select_produits(GETPOSTINT('idprod'), 'idprod', $filtertype, getDolGlobalInt('PRODUIT_LIMIT_SIZE'), $buyer->price_level, $statustoshow, 2, '', 1, array(), $buyer->id, $labelforradio, 0, 'maxwidth500 widthcentpercentminusx', 0, '', GETPOST('combinations', 'array:alphanohtml'));
|
||||
}
|
||||
if (getDolGlobalString('MAIN_AUTO_OPEN_SELECT2_ON_FOCUS_FOR_CUSTOMER_PRODUCTS')) {
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue