From 2ba70f459c1f68139254674548a8c0959a4746e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Proch=C3=A1zka?= Date: Thu, 11 Sep 2014 17:32:11 +0200 Subject: [PATCH] fixed undefined property on Query --- lib/Doctrine/Search/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Search/Query.php b/lib/Doctrine/Search/Query.php index 718c541..5e29d3c 100644 --- a/lib/Doctrine/Search/Query.php +++ b/lib/Doctrine/Search/Query.php @@ -133,7 +133,7 @@ public function setHydrationMode($mode) */ public function useResultCache($useCache, $cacheLifetime = null) { - $this->useCache = $useCache; + $this->useResultCache = $useCache; $this->cacheLifetime = $cacheLifetime; return $this; }