MINOR Making parameter optional for ComplexTableField_Item

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@99683 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-02-23 03:26:57 +00:00
parent 8a1b1960c0
commit 41c04fe61b

View File

@ -985,7 +985,7 @@ class ComplexTableField_Item extends TableListField_Item {
*/
protected $start;
function __construct(DataObject $item, ComplexTableField $parent, $start) {
function __construct(DataObject $item, ComplexTableField $parent, $start = 0) {
$this->start = $start;
parent::__construct($item, $parent);