ftimme
2005-11-24 1645bb0b4816828ebc900a997a136d833ff38237

1 files modified
3 ■■■■■ changed files
interface/lib/classes/tform_actions.inc.php 3 ●●●●● patch | view | raw | blame | history
interface/lib/classes/tform_actions.inc.php
@@ -119,6 +119,7 @@
                    $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"];
                    $_SESSION["s"]["form"]["return_to"] = '';
                                        session_write_close();
                    header($redirect);
                } else {
                    header("Location: ".$app->tform->formDef['list_default']);
@@ -156,6 +157,7 @@
                    $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"];
                    $_SESSION["s"]["form"]["return_to"] = '';
                                        session_write_close();
                    header($redirect);
                } else {
                    header("Location: ".$app->tform->formDef['list_default']);
@@ -238,6 +240,7 @@
            $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"];
            $_SESSION["s"]["form"]["return_to"] = '';
                        session_write_close();
            header($redirect);
        } else {
            header("Location: ".$liste["file"]);