]> git.mxchange.org Git - friendica-addons.git/blobdiff - twitter/twitter.php
Rename selectOne to selectFirst
[friendica-addons.git] / twitter / twitter.php
index e501a3442882085c3b6c15b052474874266bbc74..ccfdeb1fbf9cf04d458b167e9ae2e890c2f51a98 100644 (file)
@@ -468,7 +468,7 @@ function twitter_post_hook(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;
                }