Ajout navigation next et preview
This commit is contained in:
parent
f902ef0541
commit
5759fdae3f
@ -35,10 +35,10 @@ $types[1] = $langs->trans("Service");
|
|||||||
/*
|
/*
|
||||||
* Creation de l'objet produit correspondant à l'id
|
* Creation de l'objet produit correspondant à l'id
|
||||||
*/
|
*/
|
||||||
if ($_GET["id"])
|
if ($_GET["id"] || $_GET["ref"])
|
||||||
{
|
{
|
||||||
$product = new Product($db);
|
if ($_GET["ref"]) $result = $product->fetch('',$_GET["ref"]);
|
||||||
$result = $product->fetch($_GET["id"]);
|
if ($_GET["id"]) $result = $product->fetch($_GET["id"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
llxHeader("","",$langs->trans("CardProduct0"));
|
llxHeader("","",$langs->trans("CardProduct0"));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user