mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-01 05:44:41 +03:00
Fix bug with hidding menu when operator's local name is blank
This commit is contained in:
parent
f41546b1fd
commit
e7261672cc
@ -760,6 +760,7 @@ function prepare_menu($operator, $has_right = true)
|
||||
{
|
||||
$result = array();
|
||||
|
||||
$result['showMenu'] = true;
|
||||
$result['operator'] = to_page(get_operator_name($operator));
|
||||
$result['goOnlineLink'] = getlocal2(
|
||||
"menu.goonline",
|
||||
|
@ -8,7 +8,7 @@
|
||||
</li>
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
{{#if operator}}
|
||||
{{#if showMenu}}
|
||||
<li>
|
||||
<h2>{{l10n "right.main"}}</h2>
|
||||
<ul class="submenu">
|
||||
|
Loading…
Reference in New Issue
Block a user