Skip to content

Commit

Permalink
quick bug correction
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeZ99 committed Apr 18, 2016
1 parent bb1d588 commit 8229c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/doofinder_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public function query($query=null, $page=null, $options = array()){
{
$filter = $params['filter'];
unset($params['filter']);
$dfResults = $this->apiCall('search', $params);
$dfResults = new DoofinderResults($this->apiCall('search', $params));
$params['query_name'] = $dfResults->getProperty('query_name');
$params['filter'] = $filter;
}
Expand Down

0 comments on commit 8229c79

Please sign in to comment.