mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-30 21:31:42 +01:00
Ajout navigation next et preview
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user