Skip to content
This repository
Browse code

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

Previously broken in e7ecdf4
  • Loading branch information...
commit d77c43d6c703b9646c6b46855d2425e5af8665f5 1 parent c1aad0d
Ingo Schommer authored July 10, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  code/controllers/CMSMain.php
2  code/controllers/CMSMain.php
@@ -715,7 +715,7 @@ public function ListViewForm() {
715 715
 				}
716 716
 			},
717 717
 			'getTreeTitle' => function($value, &$item) use($controller) {
718  
-				return '<a class="cms-panel-link" href="' . $controller->Link('show') . '/' . $item->ID . '">' . $item->TreeTitle . '</a>';
  718
+				return '<a class="cms-panel-link" href="' . singleton('CMSPageEditController')->Link('show') . '/' . $item->ID . '">' . $item->TreeTitle . '</a>';
719 719
 			}
720 720
 		));
721 721
 		

0 notes on commit d77c43d

Please sign in to comment.
Something went wrong with that request. Please try again.