Skip to content
This repository
Browse code

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
  • Loading branch information...
commit 6218aaef82825e9c63c6e273bf70b6561c9855ab 1 parent 3d05666
Normann Lou authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  code/controllers/CMSMain.php
8  code/controllers/CMSMain.php
@@ -539,13 +539,13 @@ public function getEditForm($id = null, $fields = null) {
539 539
 	}
540 540
 	
541 541
 	/**
542  
-	 * Returns the files and subfolders contained in the currently selected folder,
543  
-	 * defaulting to the root node. Doubles as search results, if any search parameters
544  
-	 * are set through {@link SearchForm()}.
  542
+	 * Returns the pages meet a certain criteria as {@see CMSSiteTreeFilter} or the subpages of a parent page
  543
+	 * defaulting to no filter and show all pages in first level.
  544
+	 * Doubles as search results, if any search parameters are set through {@link SearchForm()}.
545 545
 	 * 
546 546
 	 * @return SS_List
547 547
 	 */
548  
-	public function getList(&$filterOnOff) {
  548
+	public function getList(&$filterOn) {
549 549
 		$list = new DataList($this->stat('tree_class'));
550 550
 		
551 551
 		$request = $this->request;

0 notes on commit 6218aae

Please sign in to comment.
Something went wrong with that request. Please try again.