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:
Ingo Schommer 2009-01-13 04:31:14 +00:00
parent 84c03e35d9
commit 59f6133655

View File

@ -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);