Skip to content

Commit

Permalink
HOTFIX: order param issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Blake committed Feb 26, 2019
1 parent a80f4ed commit 73d39d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Searcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public function getSearch($search, $orderBy = null, $orderAs = null)
if(!$this->subJoined){


if(count($order) > 0)
if(isset($order) && count($order) > 0)
{
$last_order = null;
foreach($order as $curOrder)
Expand Down

0 comments on commit 73d39d4

Please sign in to comment.