Fixing style errors.

This commit is contained in:
stickler-ci 2023-04-26 09:10:37 +00:00
parent 8643495361
commit b4d4b96dc4

View File

@ -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;