From d2b489b4ef5908f4326996c160b7ee2d91f3fc6f Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 1 Nov 2010 01:28:54 +0000 Subject: [PATCH] BUGFIX Clear static marking caches on Hierarchy->flushCache() git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@113277 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/Hierarchy.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/model/Hierarchy.php b/core/model/Hierarchy.php index 86ece4494..6059cc32f 100755 --- a/core/model/Hierarchy.php +++ b/core/model/Hierarchy.php @@ -670,6 +670,9 @@ class Hierarchy extends DataObjectDecorator { function flushCache() { $this->_cache_children = null; $this->_cache_numChildren = null; + self::$marked = array(); + self::$expanded = array(); + self::$treeOpened = array(); } }