Browse Source

Merge pull request #112 from jdarwood007/master

Ending a Admin/Moderator session failed
Spuds 12 years ago
parent
commit
70a31a04a6
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');
 }
 
-?>
+?>