]> git.mxchange.org Git - friendica-addons.git/blobdiff - tumblr/tumblr.php
Rename selectOne to selectFirst
[friendica-addons.git] / tumblr / tumblr.php
index c255f5a42a8089f5a4531274634af9cf356ccb33..78c12a5f64d0936ad635573d2dacb111aba87342 100644 (file)
@@ -330,7 +330,7 @@ function tumblr_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;
        }