yet another bug in remote_friends_in_common
This commit is contained in:
		
					parent
					
						
							
								f2d3039aed
							
						
					
				
			
			
				commit
				
					
						15542a8690
					
				
			
		
					 2 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -143,7 +143,7 @@ function common_friends_visitor_widget($profile_uid) {
 | 
			
		|||
	$cid = $zcid = 0;
 | 
			
		||||
 | 
			
		||||
	if(can_write_wall($a,$profile_uid))
 | 
			
		||||
		$cid = local_user();
 | 
			
		||||
		$cid = remote_user();
 | 
			
		||||
	else {
 | 
			
		||||
		if(get_my_url()) {
 | 
			
		||||
			$r = q("select id from contact where nurl = '%s' and uid = %d limit 1",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue