From b34a71e20d789b281ca38c41376344f67dd8795d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Thu, 26 Dec 2013 17:25:03 +0100 Subject: [PATCH] fix news start page bug --- public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.php b/public/index.php index fb0d7966..51aa946c 100644 --- a/public/index.php +++ b/public/index.php @@ -70,7 +70,7 @@ $free_pages = array( ); // Gewünschte Seite/Funktion -$p = isset($user) ? "news" : "login"; +$_REQUEST['p'] = isset($user) ? "news" : "login"; if (isset($_REQUEST['p']) && preg_match("/^[a-z0-9_]*$/i", $_REQUEST['p']) && (in_array($_REQUEST['p'], $free_pages) || in_array($_REQUEST['p'], $privileges))) { $p = $_REQUEST['p'];