Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 11.0

This commit is contained in:
Laurent Destailleur 2020-10-13 15:04:34 +02:00
commit f1f1f2b9c8

View File

@ -83,7 +83,7 @@ if (empty($reshook))
if ($result > 0) if ($result > 0)
{ {
setEventMessages($langs->trans('LoanDeleted'), null, 'mesgs'); setEventMessages($langs->trans('LoanDeleted'), null, 'mesgs');
header("Location: index.php"); header("Location: list.php");
exit; exit;
} }
else else
@ -156,7 +156,7 @@ if (empty($reshook))
} }
else else
{ {
header("Location: index.php"); header("Location: list.php");
exit(); exit();
} }
} }