mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-26 14:39:25 +02:00
MINOR Using LeftAndMain->Link() $action parameter correctly in getSiteTreeFor()
This commit is contained in:
parent
d68ec395a3
commit
b326f03ed7
|
@ -566,7 +566,7 @@ class LeftAndMain extends Controller {
|
|||
$titleEval = '
|
||||
"<li id=\"record-$child->ID\" data-id=\"$child->ID\" class=\"" . $child->CMSTreeClasses($extraArg) . "\">" .
|
||||
"<ins class=\"jstree-icon\"> </ins>" .
|
||||
"<a href=\"" . Controller::join_links(substr($extraArg->Link(),0,-1), "show", $child->ID) . "\" title=\"'
|
||||
"<a href=\"" . Controller::join_links($extraArg->Link("show"), $child->ID) . "\" title=\"'
|
||||
. _t('LeftAndMain.PAGETYPE','Page type: ')
|
||||
. '".$child->class."\" ><ins class=\"jstree-icon\"> </ins>" . ($child->TreeTitle) .
|
||||
"</a>"
|
||||
|
|
Loading…
Reference in New Issue
Block a user