From 187c194bbda63fc610a322634703af0090f7428d Mon Sep 17 00:00:00 2001 From: romanb Date: Tue, 13 Nov 2007 15:52:45 +0000 Subject: [PATCH] Fixed an issue with the NestedSet where the baseAlias was not reset properly under some circumstances. --- lib/Doctrine/Tree/NestedSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Tree/NestedSet.php b/lib/Doctrine/Tree/NestedSet.php index 1addb207f..5e30f42af 100644 --- a/lib/Doctrine/Tree/NestedSet.php +++ b/lib/Doctrine/Tree/NestedSet.php @@ -316,7 +316,7 @@ class Doctrine_Tree_NestedSet extends Doctrine_Tree implements Doctrine_Tree_Int */ public function resetBaseQuery() { - $this->_baseQuery = null; + $this->_baseQuery = $this->_createBaseQuery(); } /**