Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Previously broken in e7ecdf4
  • Loading branch information...
commit d77c43d6c703b9646c6b46855d2425e5af8665f5 1 parent c1aad0d
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  code/controllers/CMSMain.php
View
2  code/controllers/CMSMain.php
@@ -715,7 +715,7 @@ public function ListViewForm() {
}
},
'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>';
}
));
Please sign in to comment.
Something went wrong with that request. Please try again.