MINOR Fixed PHP Notice in SiteTree

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@66092 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-11-17 23:33:19 +00:00 committed by Sam Minnee
parent df9472631e
commit e99ca1092f

View File

@ -1518,6 +1518,8 @@ class SiteTree extends DataObject {
$result[$class] = ($class == $this->class)
? _t('SiteTree.CURRENTLY', 'Currently').' '.$addAction
: _t('SiteTree.CHANGETO', 'Change to').' '.$addAction;
$currentAddAction = null;
$currentClass = null;
}
}