Skip to content
Browse files

MINOR: Fix E_STRICT warnings

  • Loading branch information...
1 parent bc42080 commit 12b30ff53893c373f6a8f871e0d6f50472e940da Andrew O'Neil committed Apr 11, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 code/forms/FolderUnusedAssetsField.php
  2. +1 −1 code/widgets/WidgetAreaEditor.php
View
2 code/forms/FolderUnusedAssetsField.php
@@ -29,7 +29,7 @@ public function getChildren() {
return $this->children;
}
- public function FieldHolder() {
+ public function FieldHolder($properties = array()) {
$output = "";
foreach($this->getChildren() as $child) {
$output .= $child->FieldHolder();
View
2 code/widgets/WidgetAreaEditor.php
@@ -19,7 +19,7 @@ function __construct($name, $widgetClasses = array('Widget'), $maxWidgets = 0) {
parent::__construct($name);
}
- function FieldHolder() {
+ function FieldHolder($properties = array()) {
Requirements::css(CMS_DIR . '/css/WidgetAreaEditor.css');
Requirements::javascript(THIRDPARTY_DIR . "/prototype/prototype.js");
Requirements::javascript(THIRDPARTY_DIR . '/behaviour/behaviour.js');

0 comments on commit 12b30ff

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