This commit is contained in:
Laurent Destailleur 2010-08-28 22:54:23 +00:00
parent 74d44f66a0
commit f98dcc1dd1

View File

@ -137,16 +137,8 @@ if ($_REQUEST["action"] == 'confirm_delete' && $_REQUEST["confirm"] == 'yes' &&
if ($result > 0)
{
$db->commit();
if ($conf->expedition_bon->enabled)
{
Header("Location: ".DOL_URL_ROOT.'/expedition/fiche.php?id='.$delivery->origin_id);
exit;
}
else
{
Header("Location: ".DOL_URL_ROOT."/livraison/liste.php");
exit;
}
Header("Location: ".DOL_URL_ROOT.'/expedition/index.php');
exit;
}
else
{