Fix bug with hidding menu when operator's local name is blank

This commit is contained in:
Dmitriy Simushev 2014-02-26 15:39:02 +00:00
parent f41546b1fd
commit e7261672cc
2 changed files with 2 additions and 1 deletions

View File

@ -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",

View File

@ -8,7 +8,7 @@
</li>
{{/unless}}
{{/if}}
{{#if operator}}
{{#if showMenu}}
<li>
<h2>{{l10n "right.main"}}</h2>
<ul class="submenu">