2011-07-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_menu.php: Fixed a bug of the side menu when the url have no sec2 parameter git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4607 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
da222177b4
commit
3163f94f38
|
@ -1,3 +1,8 @@
|
|||
2011-07-21 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_menu.php: Fixed a bug of the side menu
|
||||
when the url have no sec2 parameter
|
||||
|
||||
2011-07-21 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_groups.php
|
||||
|
|
|
@ -34,7 +34,12 @@ function menu_print_menu (&$menu) {
|
|||
$sec2 = (string) get_parameter ('sec2');
|
||||
|
||||
$allsec2 = explode('sec2=', $_SERVER['REQUEST_URI']);
|
||||
$allsec2 = $allsec2[1];
|
||||
if(isset($allsec2[1])) {
|
||||
$allsec2 = $allsec2[1];
|
||||
}
|
||||
else {
|
||||
$allsec2 = $sec2;
|
||||
}
|
||||
|
||||
echo '<ul'.(isset ($menu['class']) ? ' class="'.$menu['class'].'"' : '').'>';
|
||||
|
||||
|
|
Loading…
Reference in New Issue