diff --git a/htdocs/product/traduction.php b/htdocs/product/traduction.php index 2ca9f78b815..7d5ada34a15 100644 --- a/htdocs/product/traduction.php +++ b/htdocs/product/traduction.php @@ -1,5 +1,6 @@ + * Copyright (C) 2007 Rodolphe Quiedeville * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -39,11 +40,9 @@ $user->getrights('produit'); if (!$user->rights->produit->lire) accessforbidden(); - $types[0] = $langs->trans("Product"); $types[1] = $langs->trans("Service"); - /* * Actions */ @@ -139,7 +138,7 @@ if ($_GET["id"]) $result = $product->fetch($_GET["id"]); llxHeader("","",$langs->trans("Translation")); -$head=product_prepare_head($product); +$head=product_prepare_head($product, $user); $titre=$langs->trans("CardProduct".$product->type); if ( $_GET["action"] != 'edit') dolibarr_fiche_head($head, 'translation', $titre);