Added ability to assign a category of product to a customer

Fix: error by canceling the creation of a category
This commit is contained in:
Regis Houssin 2008-10-07 08:48:08 +00:00
parent 4a43e65828
commit 6a4cf19923

View File

@ -58,7 +58,6 @@ if ($_POST["action"] == 'add' && $user->rights->categorie->creer)
// Action ajout d'une categorie
if ($_POST["cancel"])
{
print 'origin : '.$idProdOrigin;
if ($idProdOrigin)
{
header("Location: ".DOL_URL_ROOT.'/categories/categorie.php?id='.$idProdOrigin.'&type='.$_GET["type"]);