tbrehm
2005-11-24 b152f9b1fbc7e36f705f3230efece40febae71c2
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"]);