Fixed bug
$curlResult is not an array
This commit is contained in:
		
					parent
					
						
							
								92214b8867
							
						
					
				
			
			
				commit
				
					
						27eddfee27
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1778,7 +1778,7 @@ class PortableContact
 | 
			
		|||
				$curlResult = Network::curl($url);
 | 
			
		||||
 | 
			
		||||
				if ($curlResult->isSuccess()) {
 | 
			
		||||
					$data = json_decode($curlResult["body"], true);
 | 
			
		||||
					$data = json_decode($curlResult[->getBody(), true);
 | 
			
		||||
 | 
			
		||||
					if (!empty($data)) {
 | 
			
		||||
						self::discoverServer($data, 3);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue