summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod.php b/mod.php
index f1d47e8d..96fd64e8 100644
--- a/mod.php
+++ b/mod.php
@@ -79,7 +79,7 @@ $pages = array(
if (!$mod) {
$pages = array('//' => 'login');
} elseif (isset($_GET['status'], $_GET['r'])) {
- header('Location: ' . $_GET['r'], true, (int)$_GET['stats']);
+ header('Location: ' . $_GET['r'], true, (int)$_GET['status']);
} elseif (isset($config['mod']['custom_pages'])) {
$pages = array_merge($pages, $config['mod']['custom_pages']);
}