From dd7273b27ab730fdbb7311aee1db0fec49fd5963 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 14 Apr 2010 02:20:28 +0000 Subject: [PATCH] MINOR Removed useless third argument to instantiation of itemClass in TableListField::generateExportFileData() (from r98544) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102768 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/TableListField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/TableListField.php b/forms/TableListField.php index 8345b4b04..310658186 100755 --- a/forms/TableListField.php +++ b/forms/TableListField.php @@ -957,7 +957,7 @@ JS $className = isset($item['RecordClassName']) ? $item['RecordClassName'] : $item['ClassName']; $item = new $className($item); } - $fieldItem = new $this->itemClass($item, $this, null); + $fieldItem = new $this->itemClass($item, $this); $fields = $fieldItem->Fields(false); $columnData = array();