]> git.mxchange.org Git - friendica-addons.git/blobdiff - diaspora/diaspora.php
Rename selectOne to selectFirst
[friendica-addons.git] / diaspora / diaspora.php
index 6f54f4422c7319a21b0214e562115b4b5019ae47..db4cc46e9d55df9d52c088dda6302bf626661e8d 100644 (file)
@@ -289,7 +289,7 @@ function diaspora_send(&$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;
        }