fix ddg returning weird reresults when no match is found
This commit is contained in:
		@@ -525,6 +525,15 @@ class ddg{
 | 
			
		||||
			
 | 
			
		||||
			if(isset($item["c"])){
 | 
			
		||||
				
 | 
			
		||||
				if(
 | 
			
		||||
					!isset($item["s"]) &&
 | 
			
		||||
					isset($item["t"]) &&
 | 
			
		||||
					$item["t"] == "DEEP_ERROR_NO_RESULTS"
 | 
			
		||||
				){
 | 
			
		||||
					
 | 
			
		||||
					return $out;
 | 
			
		||||
				}
 | 
			
		||||
				
 | 
			
		||||
				$table = [];
 | 
			
		||||
				
 | 
			
		||||
				// get youtube video information
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user