From e976784199c75f009e01b1c3077d5fa80df17700 Mon Sep 17 00:00:00 2001 From: Marcus Nyeholt Date: Wed, 5 Nov 2014 21:34:29 +1100 Subject: [PATCH] Fixed issue #25 by changing the variable to a correct reference --- code/extensions/SolrSearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/extensions/SolrSearch.php b/code/extensions/SolrSearch.php index 06584fc..35e02d5 100644 --- a/code/extensions/SolrSearch.php +++ b/code/extensions/SolrSearch.php @@ -372,7 +372,7 @@ public function currentFacets($term=null) { $facets = $this->getQuery()->getFacets(); $queryFacets = $this->owner->queryFacets(); - $me = $this; + $me = $this->owner; $convertFacets = function ($term, $raw) use ($facets, $queryFacets, $me) { $result = array();