Fix wrong value for parameter
This commit is contained in:
		
					parent
					
						
							
								4e5a3ab0f1
							
						
					
				
			
			
				commit
				
					
						603b1f965d
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -2017,7 +2017,7 @@ class OStatus | |||
| 		$mentioned = $newmentions; | ||||
| 
 | ||||
| 		foreach ($mentioned as $mention) { | ||||
| 			$contact = Contact::getByURL($mention, ['contact-type']); | ||||
| 			$contact = Contact::getByURL($mention, false, ['contact-type']); | ||||
| 			if (!empty($contact) && ($contact['contact-type'] == Contact::TYPE_COMMUNITY)) { | ||||
| 				XML::addElement($doc, $entry, "link", "", | ||||
| 					[ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue