From 4de6598440fb7bdc76a8c220181829a8096c391a Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Tue, 22 Feb 2011 17:52:26 +1100 Subject: Fix for page next/prev buttons in mod.php --- mod.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mod.php') diff --git a/mod.php b/mod.php index 340b6d80..48c63c08 100644 --- a/mod.php +++ b/mod.php @@ -59,6 +59,10 @@ loginForm(false, false, '?' . $query); } } else { + // Redirect (for index pages) + if(count($_GET) == 2 && isset($_GET['status']) && isset($_GET['r'])) + header('Location: ' . $_GET['r'], true, $_GET['status']); + // A sort of "cache" // Stops calling preg_quote and str_replace when not needed; only does it once $regex = Array( -- cgit v1.3