diff --git a/htdocs/categories/fiche.php b/htdocs/categories/fiche.php index 882ae9bd265..cfecbba58e1 100644 --- a/htdocs/categories/fiche.php +++ b/htdocs/categories/fiche.php @@ -41,9 +41,9 @@ else $nbcats = 1; } -if ($_GET['origin']) +if ($_REQUEST['origin']) { - $idprodorigin = $_GET['origin']; + $idprodorigin = $_REQUEST['origin']; } llxHeader("","",$langs->trans("Categories")); @@ -88,9 +88,9 @@ if ($_POST["action"] == 'add' && $user->rights->categorie->creer) print '
'.$langs->trans("TheCategorie").' '.$categorie->label.' '.$langs->trans("WasAddedSuccessfully").'
'; - if ($_GET['idprodorigin']) + if ($_REQUEST['idprodorigin']) { - $idprodorigin = $_GET['idprodorigin']; + $idprodorigin = $_REQUEST['idprodorigin']; print ''; } diff --git a/htdocs/langs/en_US/categories.lang b/htdocs/langs/en_US/categories.lang index 33f47b28c16..e0c5bb252a0 100644 --- a/htdocs/langs/en_US/categories.lang +++ b/htdocs/langs/en_US/categories.lang @@ -33,4 +33,5 @@ ImpossibleAddCat=Impossible to add the category ImpossibleAssociateCategory=Impossible to associate the category to WasAddedSuccessfully=was added successfully. ProductIsInCategories=Product/Service is in following categories -ClassifyInCategory=Classify in category \ No newline at end of file +ClassifyInCategory=Classify in category +ReturnInProduct=Return in product/service \ No newline at end of file diff --git a/htdocs/langs/fr_FR/categories.lang b/htdocs/langs/fr_FR/categories.lang index b22b1192ce6..42c8f06aba7 100644 --- a/htdocs/langs/fr_FR/categories.lang +++ b/htdocs/langs/fr_FR/categories.lang @@ -36,3 +36,4 @@ ProductIsInCategories=Ce produit/service est dans les cat ClassifyInCategory=Classer dans la catégorie NoneCategory=Aucune CategoryExistsAtSameLevel=Cette catégorie existe déjà au même endroit +ReturnInProduct=Retour fiche produit/service