summaryrefslogtreecommitdiffstats
path: root/util.php
diff options
context:
space:
mode:
Diffstat (limited to 'util.php')
-rw-r--r--util.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/util.php b/util.php
index 05a6a927..c2031993 100644
--- a/util.php
+++ b/util.php
@@ -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');
+}
?>