forked from leftypol/leftypol
small bug fixes
This commit is contained in:
parent
e6263bfdd7
commit
bdb2f57ce8
2 changed files with 2 additions and 2 deletions
2
mod.php
2
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']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue