handle google api no results

This commit is contained in:
2025-10-10 00:15:39 -04:00
parent 56ea4811d7
commit 560b9b04da

View File

@@ -583,7 +583,8 @@ class google_api{
if(!isset($json["items"])){
throw new Exception("Failed to access items array");
// google just doesnt return items when theres no results
return $out;
}
foreach($json["items"] as $result){