Ajout navigation next et preview
This commit is contained in:
parent
5759fdae3f
commit
a113a9674e
1 changed files with 3 additions and 2 deletions
|
|
@ -37,8 +37,9 @@ $types[1] = $langs->trans("Service");
|
|||
*/
|
||||
if ($_GET["id"] || $_GET["ref"])
|
||||
{
|
||||
if ($_GET["ref"]) $result = $product->fetch('',$_GET["ref"]);
|
||||
if ($_GET["id"]) $result = $product->fetch($_GET["id"]);
|
||||
$product = new Product($db);
|
||||
if ($_GET["ref"]) $result = $product->fetch('',$_GET["ref"]);
|
||||
if ($_GET["id"]) $result = $product->fetch($_GET["id"]);
|
||||
}
|
||||
|
||||
llxHeader("","",$langs->trans("CardProduct0"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue