Skip to content

Commit

Permalink
Fix : bad redirect after resource deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
jfefe committed May 11, 2014
1 parent e7dfdd2 commit d69b7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/resource/class/actions_resource.class.php
Expand Up @@ -66,7 +66,7 @@ function doActions($parameters, &$object, &$action)
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 {
Expand Down

0 comments on commit d69b7fb

Please sign in to comment.