From bf7b0361e86949f412ee57a194d07f7932e3debb Mon Sep 17 00:00:00 2001 From: following Date: Mon, 6 Aug 2012 13:45:19 +0200 Subject: [PATCH] =?UTF-8?q?Workaround=20f=C3=BCr=20Vereinsseitenentwurf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/articles.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/articles.php b/htdocs/articles.php index 00cf3cc7..3efaea0a 100644 --- a/htdocs/articles.php +++ b/htdocs/articles.php @@ -17,7 +17,7 @@ { $article = $_REQUEST['page']; } - + if ($article == '') { //no article specified @@ -70,7 +70,7 @@ if (!$tpl->is_cached()) { $tpl->menuitem = sql_value("SELECT `id` FROM `sys_menu` WHERE `href`='&1' LIMIT 1", 0, 'articles.php?page=' . urlencode($article)); - if ($tpl->menuitem == 0) + if ($tpl->menuitem == 0 && $article != 'verein') // workaround for 4_Vs $tpl->redirect('index.php'); $tpl->assign('article', $article);