From b152f9b1fbc7e36f705f3230efece40febae71c2 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 24 Nov 2005 11:26:32 -0500 Subject: [PATCH] Fixed bug in tform_actions --- interface/lib/classes/tform_actions.inc.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/lib/classes/tform_actions.inc.php b/interface/lib/classes/tform_actions.inc.php index c46537e..91b063a 100644 --- a/interface/lib/classes/tform_actions.inc.php +++ b/interface/lib/classes/tform_actions.inc.php @@ -118,7 +118,7 @@ if($_SESSION["s"]["form"]["return_to"] != '') { $list_name = $_SESSION["s"]["form"]["return_to"]; $redirect = "Location: ".$_SESSION["s"]["list"][$list_name]["parent_script"]."?id=".$_SESSION["s"]["list"][$list_name]["parent_id"]."&next_tab=".$_SESSION["s"]["list"][$list_name]["parent_tab"]; - unset($_SESSION["s"]["form"]["return_to"]); + $_SESSION["s"]["form"]["return_to"] = ''; header($redirect); } else { header("Location: ".$app->tform->formDef['list_default']); @@ -155,7 +155,7 @@ if($_SESSION["s"]["form"]["return_to"] != '') { $list_name = $_SESSION["s"]["form"]["return_to"]; $redirect = "Location: ".$_SESSION["s"]["list"][$list_name]["parent_script"]."?id=".$_SESSION["s"]["list"][$list_name]["parent_id"]."&next_tab=".$_SESSION["s"]["list"][$list_name]["parent_tab"]; - unset($_SESSION["s"]["form"]["return_to"]); + $_SESSION["s"]["form"]["return_to"] = ''; header($redirect); } else { header("Location: ".$app->tform->formDef['list_default']); @@ -237,7 +237,7 @@ if($_SESSION["s"]["form"]["return_to"] != '') { $list_name = $_SESSION["s"]["form"]["return_to"]; $redirect = "Location: ".$_SESSION["s"]["list"][$list_name]["parent_script"]."?id=".$_SESSION["s"]["list"][$list_name]["parent_id"]."&next_tab=".$_SESSION["s"]["list"][$list_name]["parent_tab"]; - unset($_SESSION["s"]["form"]["return_to"]); + $_SESSION["s"]["form"]["return_to"] = ''; header($redirect); } else { header("Location: ".$liste["file"]); -- Gitblit v1.9.1