use local_user for tag completion if available. See bug #368
This commit is contained in:
		
					parent
					
						
							
								c1e2596807
							
						
					
				
			
			
				commit
				
					
						92c20895e0
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -447,7 +447,7 @@ function item_post(&$a) {
 | 
			
		|||
 | 
			
		||||
	if(count($tags)) {
 | 
			
		||||
		foreach($tags as $tag) {
 | 
			
		||||
			handle_tag($a, $body, $inform, $str_tags, $profile_uid, $tag); 
 | 
			
		||||
			handle_tag($a, $body, $inform, $str_tags, (local_user()) ? local_user() : $profile_uid , $tag); 
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue