diff --git a/htdocs/categories/fiche.php b/htdocs/categories/fiche.php index 14b1d415d6b..260d170c489 100644 --- a/htdocs/categories/fiche.php +++ b/htdocs/categories/fiche.php @@ -41,6 +41,11 @@ else $nbcats = 1; } +if ($_REQUEST['origin']) +{ + $idprodorigin = $_REQUEST['origin']; +} + llxHeader("","",$langs->trans("Categories")); $html = new Form($db); @@ -82,6 +87,12 @@ if ($_POST["action"] == 'add' && $user->rights->categorie->creer) print '
| ';
print ' '.$langs->trans("TheCategorie").' '.$categorie->label.' '.$langs->trans("WasAddedSuccessfully").' '; + + if ($idprodorigin) + { + print ''; + } + print ' |