Workaround für Vereinsseitenentwurf
This commit is contained in:
parent
7a8be45e5a
commit
bf7b0361e8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user