Skip to content
This repository
Browse code

MINOR: Fix E_STRICT warnings

  • Loading branch information...
commit 12b30ff53893c373f6a8f871e0d6f50472e940da 1 parent bc42080
Andrew O'Neil authored April 11, 2012
2  code/forms/FolderUnusedAssetsField.php
@@ -29,7 +29,7 @@ public function getChildren() {
29 29
 		return $this->children;
30 30
 	}
31 31
 	
32  
-	public function FieldHolder() {
  32
+	public function FieldHolder($properties = array()) {
33 33
 		$output = "";
34 34
 		foreach($this->getChildren() as $child) {
35 35
 			$output .= $child->FieldHolder();
2  code/widgets/WidgetAreaEditor.php
@@ -19,7 +19,7 @@ function __construct($name, $widgetClasses = array('Widget'), $maxWidgets = 0) {
19 19
 		parent::__construct($name);
20 20
 	}
21 21
 	
22  
-	function FieldHolder() {
  22
+	function FieldHolder($properties = array()) {
23 23
 		Requirements::css(CMS_DIR . '/css/WidgetAreaEditor.css');
24 24
 		Requirements::javascript(THIRDPARTY_DIR . "/prototype/prototype.js");
25 25
 		Requirements::javascript(THIRDPARTY_DIR . '/behaviour/behaviour.js');

0 notes on commit 12b30ff

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