mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
8ecb8f0d6a
commit
6b4b9e978a
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user