Skip to content

Commit

Permalink
Merge pull request #351 from perftools/direction
Browse files Browse the repository at this point in the history
Fix missing $direction variable
  • Loading branch information
glensc authored Oct 19, 2020
2 parents 2cd039e + c613c60 commit bf48644
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Xhgui/Searcher/PdoSearcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public function getAvgsForUrl($url, $search = [])
public function getAll($options = [])
{
$page = (int)$options['page'];
$direction = $options['direction'];
if ($page < 1) {
$page = 1;
}
Expand Down

0 comments on commit bf48644

Please sign in to comment.