Fix: affichage du header en fonction du produit/service

This commit is contained in:
Regis Houssin 2006-06-10 09:11:18 +00:00
parent a72b9b866e
commit 4a02dce0cf

View File

@ -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
*/