FIX Loan - Return on list when you cancel create form or delete a loan

This commit is contained in:
Alexandre SPANGARO 2020-10-10 07:38:29 +02:00
parent 84105e996a
commit 231a866838

View File

@ -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();
}
}