Fixing style errors.
This commit is contained in:
parent
8643495361
commit
b4d4b96dc4
@ -171,7 +171,7 @@ if (empty($reshook)) {
|
||||
$efficiency = price2num(GETPOST('efficiency', 'alpha'));
|
||||
$fk_unit = GETPOST('fk_unit', 'alphanohtml');
|
||||
|
||||
if(!empty($idprod) && $conf->workstation->enabled){
|
||||
if (!empty($idprod) && $conf->workstation->enabled) {
|
||||
$product = new Product($db);
|
||||
$res = $product->fetch($idprod);
|
||||
if ($res > 0 && $product->type == Product::TYPE_SERVICE) $fk_default_workstation = $product->fk_default_workstation;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user