|
@@ -185,7 +185,7 @@ class ApplicationMenu
|
|
$index = -1;
|
|
$index = -1;
|
|
foreach(self::$aMenusIndex as $aMenu)
|
|
foreach(self::$aMenusIndex as $aMenu)
|
|
{
|
|
{
|
|
- if ($aMenu['node']->GetTitle() == $sTitle)
|
|
|
|
|
|
+ if ($aMenu['node']->GetRawTitle() == $sTitle)
|
|
{
|
|
{
|
|
$id = $aMenu['node']->GetIndex();
|
|
$id = $aMenu['node']->GetIndex();
|
|
break;
|
|
break;
|
|
@@ -258,6 +258,11 @@ abstract class MenuNode
|
|
$this->index = ApplicationMenu::InsertMenu($this, $iParentIndex, $fRank);
|
|
$this->index = ApplicationMenu::InsertMenu($this, $iParentIndex, $fRank);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public function GetRawTitle()
|
|
|
|
+ {
|
|
|
|
+ return $this->sTitle;
|
|
|
|
+ }
|
|
|
|
+
|
|
public function GetTitle()
|
|
public function GetTitle()
|
|
{
|
|
{
|
|
return Dict::S($this->sTitle);
|
|
return Dict::S($this->sTitle);
|