LibreY

- privacy respecting meta search engine
git clone git://git.acid.vegas/LibreY.git
Log | Files | Refs | Archive | README | LICENSE

commit ad747d51a123f1926de2b2f0cec7064023a31e04
parent a33f26a63805feb08bf785dafcd448a029fb3120
Author: davidovski <david@davidovski.xyz>
Date: Wed, 30 Aug 2023 18:11:17 +0100

Make fallback work when no results found

Diffstat:
Mengines/librex/fallback.php | 2+-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/engines/librex/fallback.php b/engines/librex/fallback.php
@@ -53,7 +53,7 @@
             $librex_request = new LibreXFallback($instance, $opts, null);
             $results = $librex_request->get_results();
 
-            if (count($results) > 1)
+            if (count($results) > 0)
                 return $results;
 
             // on fail then do this