From c613c6031ceaa522b9882aae13ffab2edba85bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 19 Oct 2020 21:30:46 +0300 Subject: [PATCH] Fix missing $direction variable. #349 Lost in 414c95b87dbc commit --- src/Xhgui/Searcher/PdoSearcher.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Xhgui/Searcher/PdoSearcher.php b/src/Xhgui/Searcher/PdoSearcher.php index 0b1df41eb..1ec9c5ba8 100644 --- a/src/Xhgui/Searcher/PdoSearcher.php +++ b/src/Xhgui/Searcher/PdoSearcher.php @@ -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; }