Fixed: Bad url link

This commit is contained in:
Laurent Destailleur 2014-12-10 21:14:59 +01:00
parent 99e5715f28
commit b681885542

View File

@ -254,7 +254,7 @@ if (($action == 'create' || $action == 'add') && empty($mesgs)) {
// End of object creation, we show it // End of object creation, we show it
if ($id > 0 && ! $error) { if ($id > 0 && ! $error) {
$db->commit(); $db->commit();
header('Location: ' . DOL_URL_ROOT . '/fourn/facture/fiche.php?facid=' . $id); header('Location: ' . DOL_URL_ROOT . '/fourn/facture/card.php?facid=' . $id);
exit(); exit();
} else { } else {
$db->rollback(); $db->rollback();