From fc8d442505cf2d6e4120b08a2b94b96987413fc3 Mon Sep 17 00:00:00 2001 From: ajshort Date: Fri, 1 Apr 2011 15:10:07 +1100 Subject: [PATCH] MINOR: Removed useless setPageLimits call from ComplexTableField::Items(). --- forms/ComplexTableField.php | 1 - 1 file changed, 1 deletion(-) diff --git a/forms/ComplexTableField.php b/forms/ComplexTableField.php index 13f18cb4e..6537aef57 100644 --- a/forms/ComplexTableField.php +++ b/forms/ComplexTableField.php @@ -255,7 +255,6 @@ JS; } $pageStart = (isset($_REQUEST['ctf'][$this->Name()]['start']) && is_numeric($_REQUEST['ctf'][$this->Name()]['start'])) ? $_REQUEST['ctf'][$this->Name()]['start'] : 0; - $sourceItems->setPageLimits($pageStart, $this->pageSize, $this->TotalCount()); $output = new DataObjectSet(); foreach($sourceItems as $pageIndex=>$item) {