syntax error
This commit is contained in:
parent
ce0abd17fe
commit
e4b5ec122e
@ -373,8 +373,7 @@ if (empty($reshook))
|
|||||||
$action = 'create';
|
$action = 'create';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} elseif ($action == 'classin' && $user->rights->contrat->creer)
|
} elseif ($action == 'classin' && $user->rights->contrat->creer) {
|
||||||
{
|
|
||||||
$object->setProject(GETPOST('projectid'));
|
$object->setProject(GETPOST('projectid'));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -385,7 +384,7 @@ if (empty($reshook))
|
|||||||
$predef = '';
|
$predef = '';
|
||||||
$product_desc = (GETPOSTISSET('dp_desc') ? GETPOST('dp_desc', 'restricthtml') : '');
|
$product_desc = (GETPOSTISSET('dp_desc') ? GETPOST('dp_desc', 'restricthtml') : '');
|
||||||
$price_ht = price2num(GETPOST('price_ht'), 'MU');
|
$price_ht = price2num(GETPOST('price_ht'), 'MU');
|
||||||
$price_ht_devise = price2num(GETPOST('multicurrency_price_ht', 'CR');
|
$price_ht_devise = price2num(GETPOST('multicurrency_price_ht', 'CR'));
|
||||||
if (GETPOST('prod_entry_mode', 'alpha') == 'free')
|
if (GETPOST('prod_entry_mode', 'alpha') == 'free')
|
||||||
{
|
{
|
||||||
$idprod = 0;
|
$idprod = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user