From d8c80783028b86b4e698425501901249a0b8acf7 Mon Sep 17 00:00:00 2001 From: romanb Date: Sun, 16 Aug 2009 17:42:04 +0000 Subject: [PATCH] [2.0] Small optimization. --- lib/Doctrine/ORM/Query/Parser.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/Query/Parser.php b/lib/Doctrine/ORM/Query/Parser.php index 0d56b8510..cb70099f4 100644 --- a/lib/Doctrine/ORM/Query/Parser.php +++ b/lib/Doctrine/ORM/Query/Parser.php @@ -1719,9 +1719,8 @@ class Parser $condPrimary->simpleConditionalExpression = $this->SimpleConditionalExpression(); } else { $this->match('('); - $conditionalExpression = $this->ConditionalExpression(); + $condPrimary->conditionalExpression = $this->ConditionalExpression(); $this->match(')'); - $condPrimary->conditionalExpression = $conditionalExpression; } } else { $condPrimary->simpleConditionalExpression = $this->SimpleConditionalExpression();