formatting

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48105 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-01-16 21:50:18 +00:00
parent 48d19626dc
commit 1d7eeb378c

View File

@ -513,7 +513,7 @@ class TableField extends TableListField {
// TODO Implement custom requiredFields
$items = $this->sourceItems();
if($items&&$this->requiredFields&&$items->count()) {
if($items && $this->requiredFields && $items->count()) {
foreach ($this->requiredFields as $field) {
/*if($fields->dataFieldByName($field)) {
$js .= "\t\t\t\t\trequire('$field');\n";