From 75bd92de3c8d1880464a3ce2255dc9096b2e0cb4 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 1 Nov 2010 02:59:52 +0000 Subject: [PATCH] BUGFIX Clear static marking caches on Hierarchy->flushCache() (from r113277) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@113302 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 44a5a999b..d067c98f8 100644 --- a/core/model/Hierarchy.php +++ b/core/model/Hierarchy.php @@ -633,6 +633,9 @@ class Hierarchy extends DataObjectDecorator { $this->_cache_children = null; $this->_cache_allChildrenIncludingDeleted = null; $this->_cache_allChildren = null; + self::$marked = array(); + self::$expanded = array(); + self::$treeOpened = array(); } }