mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
formatting
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48105 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
48d19626dc
commit
1d7eeb378c
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user