diff --git a/htdocs/loan/card.php b/htdocs/loan/card.php index 3e96a33c931..2c46823afb0 100644 --- a/htdocs/loan/card.php +++ b/htdocs/loan/card.php @@ -83,7 +83,7 @@ if (empty($reshook)) if ($result > 0) { setEventMessages($langs->trans('LoanDeleted'), null, 'mesgs'); - header("Location: index.php"); + header("Location: list.php"); exit; } else @@ -156,7 +156,7 @@ if (empty($reshook)) } else { - header("Location: index.php"); + header("Location: list.php"); exit(); } }