diff options
Diffstat (limited to 'util.php')
-rw-r--r-- | util.php | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -29,13 +29,13 @@ header("Pragma: no-cache"); // This is a little bit of a special file, it takes the // content of $_SESSION['iframe']['target'] and does a header // redirect to that spot! -if (isset($_SESSION['iframe']['target'])) { - $target = $_SESSION['iframe']['target']; - unset($_SESSION['iframe']['target']); - header("Location: " . $target); -} -else { +if (isset($_SESSION['iframe']['target'])) { + $target = $_SESSION['iframe']['target']; + unset($_SESSION['iframe']['target']); + header("Location: " . $target); +} +else { // Prevent the update query as it's pointless - define('NO_SESSION_UPDATE','1'); -} + define('NO_SESSION_UPDATE','1'); +} ?> |