Skip to content

Commit

Permalink
Fixed issue #25 by changing the variable to a correct reference
Browse files Browse the repository at this point in the history
  • Loading branch information
nyeholt committed Nov 5, 2014
1 parent 4bce587 commit e976784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/extensions/SolrSearch.php
Expand Up @@ -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();
Expand Down

0 comments on commit e976784

Please sign in to comment.