Fix: affichage du header en fonction du produit/service
This commit is contained in:
parent
a72b9b866e
commit
4a02dce0cf
@ -50,12 +50,12 @@ if ($_GET["id"] || $_GET["ref"])
|
||||
$product = new Product($db);
|
||||
if ($_GET["ref"]) $result = $product->fetch('',$_GET["ref"]);
|
||||
if ($_GET["id"]) $result = $product->fetch($_GET["id"]);
|
||||
|
||||
llxHeader("","",$langs->trans("CardProduct".$product->type));
|
||||
}
|
||||
$html = new Form($db);
|
||||
|
||||
|
||||
llxHeader("","",$langs->trans("CardProduct0"));
|
||||
|
||||
/*
|
||||
* Fiche produit
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user