From 72b29117615e70afe107e5e8c1d51eb14e1e7a2b Mon Sep 17 00:00:00 2001 From: romanb Date: Thu, 4 Oct 2007 15:06:46 +0000 Subject: [PATCH] fixed a bug in Doctrine_Query_Abstract::set(). Missing return value. --- lib/Doctrine/Query/Abstract.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Doctrine/Query/Abstract.php b/lib/Doctrine/Query/Abstract.php index 3304a26dc..ace9280a1 100644 --- a/lib/Doctrine/Query/Abstract.php +++ b/lib/Doctrine/Query/Abstract.php @@ -214,6 +214,7 @@ abstract class Doctrine_Query_Abstract extends Doctrine_Hydrate foreach ($key as $k => $v) { $this->set($k, '?', array($v)); } + return $this; } else { if ($params !== null) { if (is_array($params)) {