fix some php warnings

This commit is contained in:
2026-10-24 04:03:00 -04:00
parent e1d0ab121f
commit 25d4f991c2
5 changed files with 180 additions and 139 deletions
+2
View File
@@ -163,6 +163,8 @@ class autocomplete{
// if it respects the openSearch protocol
$json = json_decode($this->get($this->scrapers[$scraper], $_GET["s"]), true);
if(!isset($json[1])){ $json[1] = []; }
echo json_encode(
[
$_GET["s"],