mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Fix non_virtual_fields being ignored
Fix non_virtual_fields and initially_copied_fields being ignored in classes that extent VirtualPage
This commit is contained in:
parent
9374c3458c
commit
cb955f08f7
@ -103,8 +103,8 @@ class VirtualPage extends Page
|
||||
public function getNonVirtualisedFields()
|
||||
{
|
||||
return array_merge(
|
||||
VirtualPage::config()->non_virtual_fields,
|
||||
VirtualPage::config()->initially_copied_fields
|
||||
self::config()->non_virtual_fields,
|
||||
self::config()->initially_copied_fields
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user