mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Fix : bad redirect after resource deleting
This commit is contained in:
@@ -66,7 +66,7 @@ class ActionsResource
|
||||
if ($result >= 0)
|
||||
{
|
||||
setEventMessage($langs->trans('RessourceSuccessfullyDeleted'));
|
||||
Header("Location: ".$_SERVER['PHP_SELF']."?element=".GETPOST('element')."&element_id=".GETPOST('element_id'));
|
||||
Header("Location: list.php");
|
||||
exit;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user