From 023902c4cc6eefd62eb618250edc991f4b1a31c2 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 14 Feb 2012 16:00:48 +0100 Subject: [PATCH] MINOR Unsetting any current record state in CMSPagesController, as it doesn't deal with records (and it wrongly highlights the current tree node) --- code/controllers/CMSPagesController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/controllers/CMSPagesController.php b/code/controllers/CMSPagesController.php index 9d882284..721c85ec 100644 --- a/code/controllers/CMSPagesController.php +++ b/code/controllers/CMSPagesController.php @@ -37,4 +37,8 @@ class CMSPagesController extends CMSMain { function PreviewLink() { return false; } + + public function currentPageID() { + return false; + } } \ No newline at end of file