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