Permalink
Browse files

MINOR Unsetting any current record state in CMSPagesController, as it…

… doesn't deal with records (and it wrongly highlights the current tree node)
  • Loading branch information...
1 parent f4e3e79 commit 023902c4cc6eefd62eb618250edc991f4b1a31c2 @chillu chillu committed Feb 14, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 code/controllers/CMSPagesController.php
View
4 code/controllers/CMSPagesController.php
@@ -37,4 +37,8 @@ function Link($action = null) {
function PreviewLink() {
return false;
}
+
+ public function currentPageID() {
+ return false;
+ }
}

0 comments on commit 023902c

Please sign in to comment.