From 0a854e926024df4c8981cdf9d3a6563cf85f2856 Mon Sep 17 00:00:00 2001 From: Martijn Date: Fri, 15 Nov 2013 09:55:31 +0100 Subject: [PATCH] Make Settings Link in CMSSettingsController clickable When SiteConfig has a GridField, you can't click on the Link to go back --- code/controllers/CMSSettingsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/CMSSettingsController.php b/code/controllers/CMSSettingsController.php index a86ad860..846a7891 100644 --- a/code/controllers/CMSSettingsController.php +++ b/code/controllers/CMSSettingsController.php @@ -94,7 +94,7 @@ class CMSSettingsController extends LeftAndMain { return new ArrayList(array( new ArrayData(array( 'Title' => _t("{$this->class}.MENUTITLE", $defaultTitle), - 'Link' => false + 'Link' => ($unlinked) ? false : $this->Link() )) )); }