mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-07-01 08:59:42 +02:00
MINOR Added empty $db static on GhostPage - was causing weird side-effects when reinitializing decorated $db statics through Translatable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@70071 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
84c03e35d9
commit
59f6133655
|
@ -12,6 +12,8 @@ class GhostPage extends SiteTree implements HiddenClass {
|
|||
"LinkedPage" => "SiteTree",
|
||||
);
|
||||
|
||||
static $db = array();
|
||||
|
||||
function getCMSFields($val) {
|
||||
if($this->getField('LinkedPageID')) {
|
||||
return $this->LinkedPage()->getCMSFields($val);
|
||||
|
|
Loading…
Reference in New Issue
Block a user