@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use SilverStripe\Core\ClassInfo; |
| 8 | 8 | use SilverStripe\Forms\DateField; |
| 9 | 9 | use SilverStripe\ORM\DataList; |
| 10 | -use SilverStripe\ORM\DataObject; |
|
| 11 | 10 | use SilverStripe\ORM\SS_List; |
| 12 | 11 | use SilverStripe\ORM\Versioning\Versioned; |
| 13 | 12 | |
@@ -359,6 +359,9 @@ |
||
| 359 | 359 | return null; |
| 360 | 360 | } |
| 361 | 361 | |
| 362 | + /** |
|
| 363 | + * @param string $field |
|
| 364 | + */ |
|
| 362 | 365 | public function getField($field) { |
| 363 | 366 | if($this->isFieldVirtualised($field)) { |
| 364 | 367 | return $this->CopyContentFrom()->getField($field); |