fix news start page bug

This commit is contained in:
Philip Häusler 2013-12-26 17:25:03 +01:00
parent fdd4b44c0e
commit b34a71e20d
1 changed files with 1 additions and 1 deletions

View File

@ -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'];