Rename selectOne to selectFirst

This commit is contained in:
Hypolite Petovan 2018-01-10 08:37:11 -05:00
parent 3e141d268e
commit a66a4959f5
10 changed files with 10 additions and 10 deletions

View file

@ -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;
}