Browse Source

Ending a Admin/Moderator Session didn't return the correct url

Signed-off-by: Jeremy D <[email protected]>
Jeremy D 12 years ago
parent
commit
0d635bd863
2 changed files with 4 additions and 4 deletions
  1. 2 2
      Sources/Admin.php
  2. 2 2
      Sources/ModerationCenter.php

+ 2 - 2
Sources/Admin.php

@@ -995,7 +995,7 @@ function AdminEndSession()
 		if (strpos($key, '-admin') !== false)
 			unset($_SESSION['token'][$key]);
 
-	redirectexit('?action=admin');
+	redirectexit('action=admin');
 }
 
-?>
+?>

+ 2 - 2
Sources/ModerationCenter.php

@@ -2164,7 +2164,7 @@ function ModEndSession()
 		if (strpos($key, '-mod') !== false)
 			unset($_SESSION['token'][$key]);
 
-	redirectexit('?action=moderate');
+	redirectexit('action=moderate');
 }
 
-?>
+?>