Fixed a bug where it was displaying the page url rather than the menu title.
This commit is contained in:
parent
993ff5bbc4
commit
e64e640a31
3 changed files with 5 additions and 5 deletions
|
|
@ -38,9 +38,9 @@ sub _replacement {
|
|||
}
|
||||
$temp .= '<a class="horizontalMenu" href="'.WebGUI::URL::gateway($data[1]).'">';
|
||||
if ($session{page}{pageId} == $data[2]) {
|
||||
$temp .= '<span class="selectedMenuItem">'.$data[1].'</span>';
|
||||
$temp .= '<span class="selectedMenuItem">'.$data[0].'</span>';
|
||||
} else {
|
||||
$temp .= $data[1];
|
||||
$temp .= $data[0];
|
||||
}
|
||||
$temp .= '</a>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue