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:
parent
4a43e65828
commit
6a4cf19923
@ -58,7 +58,6 @@ if ($_POST["action"] == 'add' && $user->rights->categorie->creer)
|
|||||||
// Action ajout d'une categorie
|
// Action ajout d'une categorie
|
||||||
if ($_POST["cancel"])
|
if ($_POST["cancel"])
|
||||||
{
|
{
|
||||||
print 'origin : '.$idProdOrigin;
|
|
||||||
if ($idProdOrigin)
|
if ($idProdOrigin)
|
||||||
{
|
{
|
||||||
header("Location: ".DOL_URL_ROOT.'/categories/categorie.php?id='.$idProdOrigin.'&type='.$_GET["type"]);
|
header("Location: ".DOL_URL_ROOT.'/categories/categorie.php?id='.$idProdOrigin.'&type='.$_GET["type"]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user