forked from friendica/friendica-addons
		
	Rename selectOne to selectFirst
This commit is contained in:
		
					parent
					
						
							
								3e141d268e
							
						
					
				
			
			
				commit
				
					
						a66a4959f5
					
				
			
		
					 10 changed files with 10 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -253,7 +253,7 @@ function buffer_send(App $a, &$b)
 | 
			
		|||
 | 
			
		||||
	// Dont't post if the post doesn't belong to us.
 | 
			
		||||
	// This is a check for forum postings
 | 
			
		||||
	$self = dba::selectOne('contact', ['id'], ['uid' => $b['uid'], 'self' => true]);
 | 
			
		||||
	$self = dba::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]);
 | 
			
		||||
	if ($b['contact-id'] != $self['id']) {
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue