mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 21:21:54 +02:00
Menu visibility issue (broken when there is dash in the condition list)
This commit is contained in:
parent
46d7bd0db2
commit
e193ef41a9
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/* $Id: menu.php,v 1.1 2009-01-08 17:23:13 mcfly_e107 Exp $ */
|
||||
/* $Id: menu.php,v 1.2 2009-02-05 11:54:59 secretr Exp $ */
|
||||
|
||||
function menu_shortcode($parm)
|
||||
{
|
||||
@ -24,7 +24,7 @@ function menu_shortcode($parm)
|
||||
$show_menu = TRUE;
|
||||
if($row['menu_pages'])
|
||||
{
|
||||
list($listtype, $listpages) = explode('-', $row['menu_pages']);
|
||||
list($listtype, $listpages) = explode('-', $row['menu_pages'], 2);
|
||||
$pagelist = explode('|',$listpages);
|
||||
$check_url = e_SELF.(e_QUERY ? '?'.e_QUERY : '');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user