Fixed notice-level error

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41095 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2007-08-31 00:27:59 +00:00
parent 8ecb8f0d6a
commit 6b4b9e978a

View File

@ -415,6 +415,7 @@ class TableField extends TableListField {
*/
function sortData($data, $recordID = null) {
if($data) {
$dataObjects = array();
foreach($data as $field => $rowData) {
$i = 0;
$blank = 0;
@ -432,8 +433,8 @@ class TableField extends TableListField {
// TODO ADD stuff for removing rows with incomplete data
}
return $dataObjects;
}
return $dataObjects;
}
/**