diff --git a/htdocs/product/composition/fiche.php b/htdocs/product/composition/fiche.php index d3707e569bd..f5a254e650f 100644 --- a/htdocs/product/composition/fiche.php +++ b/htdocs/product/composition/fiche.php @@ -123,7 +123,7 @@ if ($cancel == $langs->trans("Cancel")) */ // action recherche des produits par mot-cle et/ou par categorie -if($action == 'search' ) +if ($action == 'search') { $current_lang = $langs->getDefaultLang(); @@ -174,9 +174,9 @@ dol_fiche_head($head, 'subproduct', $titre, 0, $picto); if ($id || $ref) { - if ( $result ) + if ($result) { - if ($action <> 'edit' &&$action <> 'search' && $action <> 're-edit') + if ($action <> 'edit' && $action <> 'search' && $action <> 're-edit') { /* * En mode visu @@ -209,7 +209,7 @@ if ($id || $ref) // List of subproducts $prods_arbo = $product->get_arbo_each_prod(); - if(count($prods_arbo) > 0) + if (count($prods_arbo) > 0) { print '