mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2024-11-21 21:59:12 +01:00
Submenu-update
submenu-bug : line 119 $search_level = 0; // 0 = full-submenu, 1 only 1. sublevel, 2 only 2. level
This commit is contained in:
parent
ea38a1c138
commit
b7e7704eac
1 changed files with 2 additions and 2 deletions
|
@ -112,11 +112,11 @@ class Menu{
|
|||
}
|
||||
|
||||
|
||||
public function GetSubMenu($arg='',$info=false,$search_level=false){
|
||||
public function GetSubMenu($arg='',$info=false,$search_level=0){
|
||||
global $page;
|
||||
$this->curr_menu = $arg;
|
||||
$source_menu_array = $this->GetMenuArray($arg);
|
||||
|
||||
$search_level = 0; // 0 = full-submenu, 1 only 1. sublevel, 2 only 2. level
|
||||
$reset_level = 0;
|
||||
if( !empty($search_level) ){
|
||||
$reset_level = max(0,$search_level-1);
|
||||
|
|
Loading…
Reference in a new issue