From c86014b5f059d473365d81d25e6e3038228b16a3 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 25 Mar 2006 17:02:50 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20bouton=20de=20retour=20au=20produit=20a?= =?UTF-8?q?pr=E8s=20cr=E9ation=20de=20la=20cat=E9gorie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/categories/fiche.php | 4 ++-- htdocs/product/categorie.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/categories/fiche.php b/htdocs/categories/fiche.php index 260d170c489..2be926cfecb 100644 --- a/htdocs/categories/fiche.php +++ b/htdocs/categories/fiche.php @@ -41,9 +41,9 @@ else $nbcats = 1; } -if ($_REQUEST['origin']) +if ($_GET['origin']) { - $idprodorigin = $_REQUEST['origin']; + $idprodorigin = $_GET['origin']; } llxHeader("","",$langs->trans("Categories")); diff --git a/htdocs/product/categorie.php b/htdocs/product/categorie.php index 636ff5a9cf1..a26015b4acd 100644 --- a/htdocs/product/categorie.php +++ b/htdocs/product/categorie.php @@ -203,7 +203,7 @@ if ($_GET["id"] || $_GET["ref"]) if ($user->rights->categorie->creer) { - print ''.$langs->trans("NewCat").''; + print ''.$langs->trans("NewCat").''; } print '';