Bad url
This commit is contained in:
parent
74d44f66a0
commit
f98dcc1dd1
@ -137,16 +137,8 @@ if ($_REQUEST["action"] == 'confirm_delete' && $_REQUEST["confirm"] == 'yes' &&
|
|||||||
if ($result > 0)
|
if ($result > 0)
|
||||||
{
|
{
|
||||||
$db->commit();
|
$db->commit();
|
||||||
if ($conf->expedition_bon->enabled)
|
Header("Location: ".DOL_URL_ROOT.'/expedition/index.php');
|
||||||
{
|
exit;
|
||||||
Header("Location: ".DOL_URL_ROOT.'/expedition/fiche.php?id='.$delivery->origin_id);
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Header("Location: ".DOL_URL_ROOT."/livraison/liste.php");
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user