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 ''; print '

'.$langs->trans("TheCategorie").' '.$categorie->label.' '.$langs->trans("WasAddedSuccessfully").'

'; - if ($idprodorigin) + if ($_GET['idprodorigin']) { + $idprodorigin = $_GET['idprodorigin'] print '

'.$langs->trans("ReturnInProduct").'

'; } @@ -114,6 +115,10 @@ if ($user->rights->produit->creer) print '
'; print ''; print ''; + if ($idprodorigin) + { + print ''; + } print ''; print ''; print_fiche_titre($langs->trans("CreateCat"));