From 8402633bccf12c91eb0f1ed243e2d95a378a7b77 Mon Sep 17 00:00:00 2001 From: gnat Date: Thu, 20 Sep 2007 05:25:52 +0000 Subject: [PATCH] invalid variable --- lib/Doctrine/Query/Abstract.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Query/Abstract.php b/lib/Doctrine/Query/Abstract.php index 10595152d..01dce1dc8 100644 --- a/lib/Doctrine/Query/Abstract.php +++ b/lib/Doctrine/Query/Abstract.php @@ -86,7 +86,7 @@ abstract class Doctrine_Query_Abstract extends Doctrine_Hydrate foreach ($params as $k => $value) { if ($value instanceof Doctrine_Expression) { $value = $value->getSql(); - unset($values[$k]); + unset($params[$k]); } else { $value = '?'; }