BUG CMS pages list view link targets (fixes #7589)

Previously broken in e7ecdf4b35
This commit is contained in:
Ingo Schommer 2012-07-10 10:43:07 +02:00
parent c1aad0d0c0
commit d77c43d6c7
1 changed files with 1 additions and 1 deletions

View File

@ -715,7 +715,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
}
},
'getTreeTitle' => function($value, &$item) use($controller) {
return '<a class="cms-panel-link" href="' . $controller->Link('show') . '/' . $item->ID . '">' . $item->TreeTitle . '</a>';
return '<a class="cms-panel-link" href="' . singleton('CMSPageEditController')->Link('show') . '/' . $item->ID . '">' . $item->TreeTitle . '</a>';
}
));