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
|
|
@ -24,7 +24,7 @@ sub _replacement {
|
|||
if ($param[1] eq "") {
|
||||
$param[1] = 0;
|
||||
}
|
||||
@data = WebGUI::SQL->quickArray("select pageId,title,urlizedTitle from page where urlizedTitle='$param[0]'");
|
||||
@data = WebGUI::SQL->quickArray("select pageId from page where urlizedTitle='$param[0]'");
|
||||
$temp = '<span class="verticalMenu">';
|
||||
if (defined $data[0] && WebGUI::Privilege::canViewPage($data[0])) {
|
||||
$temp .= traversePageTree($data[0],1,$param[1]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue