Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX SSF-124 the $filterOn pass-as-reference variable name should b…

…e consist with where its value is altered so as the variable is correctly assigned

MINOR SSF-124 correct inline document
  • Loading branch information...
commit 7c44e952871e4e56ab8dd794fc357105a567e924 1 parent 3d05666
@normann normann authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 code/controllers/CMSMain.php
View
8 code/controllers/CMSMain.php
@@ -539,13 +539,13 @@ public function getEditForm($id = null, $fields = null) {
}
/**
- * Returns the files and subfolders contained in the currently selected folder,
- * defaulting to the root node. Doubles as search results, if any search parameters
- * are set through {@link SearchForm()}.
+ * Returns the pages meet a certain criteria as {@see CMSSiteTreeFilter} or the subpages of a parent page
+ * defaulting to no filter and show all pages in first level.
+ * Doubles as search results, if any search parameters are set through {@link SearchForm()}.
*
* @return SS_List
*/
- public function getList(&$filterOnOff) {
+ public function getList(&$filterOn) {
$list = new DataList($this->stat('tree_class'));
$request = $this->request;
Please sign in to comment.
Something went wrong with that request. Please try again.