Fix Bug : level was not set if AC not selected
This commit is contained in:
parent
940ab15566
commit
bc8c8e8fa8
1 changed files with 3 additions and 0 deletions
|
|
@ -73,6 +73,8 @@ if ( ! $cn->exist_table('version')) {
|
||||||
echo '</p>';
|
echo '</p>';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
global $level;
|
||||||
|
$level=0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* if access_mode is MOBILE than force it to mobile.php
|
* if access_mode is MOBILE than force it to mobile.php
|
||||||
|
|
@ -322,6 +324,7 @@ else
|
||||||
$_GET['ac']=$default;
|
$_GET['ac']=$default;
|
||||||
$_POST['ac']=$default;
|
$_POST['ac']=$default;
|
||||||
$_REQUEST['ac']=$default;
|
$_REQUEST['ac']=$default;
|
||||||
|
|
||||||
show_module($menu_id);
|
show_module($menu_id);
|
||||||
$all[0] = $default;
|
$all[0] = $default;
|
||||||
show_menu($menu_id);
|
show_menu($menu_id);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue