summaryrefslogtreecommitdiff
path: root/inc/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/header.php')
-rwxr-xr-xinc/header.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/inc/header.php b/inc/header.php
index 16904ee9..64e831fd 100755
--- a/inc/header.php
+++ b/inc/header.php
@@ -89,9 +89,11 @@ if( $Page["ShowTabel"]=="Y" )
echo "\n\n\n";
if (IsSet($_SESSION['UID'])) {
- $BACKUP_SESSION_OLDURL = $_SESSION['oldurl'];
- $_SESSION['oldurl'] = $_SESSION['newurl'];
- $_SESSION['newurl'] = $REQUEST_URI;
+ if( isset($_SESSION['oldurl']))
+ $BACKUP_SESSION_OLDURL = $_SESSION['oldurl'];
+ if( isset($_SESSION['newurl']))
+ $_SESSION['oldurl'] = $_SESSION['newurl'];
+ $_SESSION['newurl'] = $_SERVER["REQUEST_URI"];
}