From 332da65edb03f22dcd0cb43990ae398142008488 Mon Sep 17 00:00:00 2001
From: Sean Harvey <sean@silverstripe.com>
Date: Wed, 8 Oct 2008 02:40:10 +0000
Subject: [PATCH] MINOR Tidied up argument list for Object::create() in
 ComplexTableField->AddForm()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63815 467b73ca-7a2a-4603-9d3b-597d59a354a9
---
 forms/ComplexTableField.php | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/forms/ComplexTableField.php b/forms/ComplexTableField.php
index 0fcd8e057..2f1ed56b5 100755
--- a/forms/ComplexTableField.php
+++ b/forms/ComplexTableField.php
@@ -503,9 +503,14 @@ JS;
 		$validator = $this->getValidatorFor($childData);
 
 		$form = Object::create(
-				$this->popupClass,
-				$this, "AddForm", 
-				$fields, $validator, false, $childData);
+			$this->popupClass,
+			$this,
+			'AddForm',
+			$fields,
+			$validator,
+			false,
+			$childData
+		);
 
 		return $form;
 	}