diff --git a/htdocs/categories/fiche.php b/htdocs/categories/fiche.php index 2be926cfecb..9cb151f1596 100644 --- a/htdocs/categories/fiche.php +++ b/htdocs/categories/fiche.php @@ -88,8 +88,9 @@ if ($_POST["action"] == 'add' && $user->rights->categorie->creer) print '
'.$langs->trans("TheCategorie").' '.$categorie->label.' '.$langs->trans("WasAddedSuccessfully").'
'; - if ($idprodorigin) + if ($_GET['idprodorigin']) { + $idprodorigin = $_GET['idprodorigin'] print ''; } @@ -114,6 +115,10 @@ if ($user->rights->produit->creer) print '