diff --git a/core/model/GhostPage.php b/core/model/GhostPage.php index 50af7f131..61aef893f 100755 --- a/core/model/GhostPage.php +++ b/core/model/GhostPage.php @@ -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);