Skip to content

Commit

Permalink
BUG CMS pages list view link targets (fixes #7589)
Browse files Browse the repository at this point in the history
Previously broken in e7ecdf4
  • Loading branch information
chillu committed Jul 10, 2012
1 parent c1aad0d commit d77c43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/controllers/CMSMain.php
Expand Up @@ -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>';
}
));

Expand Down

0 comments on commit d77c43d

Please sign in to comment.