bug 1138: Set $oldid
authorMichael Tänzer <neo@nhng.de>
Fri, 11 Apr 2014 21:57:11 +0000 (23:57 +0200)
committerMichael Tänzer <neo@nhng.de>
Fri, 11 Apr 2014 21:57:11 +0000 (23:57 +0200)
Signed-off-by: Michael Tänzer <neo@nhng.de>
pages/account/59.php

index 5a327a9..0eb6042 100644 (file)
@@ -43,6 +43,11 @@ if (array_key_exists('ticketno', $_SESSION)) {
     $ticketno = $_SESSION['ticketno'];
 }
 
+$oldid = 0;
+if (array_key_exists('oldid', $_REQUEST)) {
+    $oldid = intval($_REQUEST['oldid']);
+}
+
 // Support Engineer access restrictions
 $support=0;
 if ($userid != $_SESSION['profile']['id']) {