BUGFIX SSF-124 the $filterOn pass-as-reference variable name should be consist with where its value is altered so as the variable is correctly assigned

MINOR SSF-124 correct inline document
This commit is contained in:
Normann Lou 2012-04-11 12:16:23 +12:00
parent 3d0566638a
commit 7c44e95287

View File

@ -539,13 +539,13 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
} }
/** /**
* Returns the files and subfolders contained in the currently selected folder, * Returns the pages meet a certain criteria as {@see CMSSiteTreeFilter} or the subpages of a parent page
* defaulting to the root node. Doubles as search results, if any search parameters * defaulting to no filter and show all pages in first level.
* are set through {@link SearchForm()}. * Doubles as search results, if any search parameters are set through {@link SearchForm()}.
* *
* @return SS_List * @return SS_List
*/ */
public function getList(&$filterOnOff) { public function getList(&$filterOn) {
$list = new DataList($this->stat('tree_class')); $list = new DataList($this->stat('tree_class'));
$request = $this->request; $request = $this->request;