]> git.mxchange.org Git - friendica-addons.git/blobdiff - pumpio/pumpio.php
Rename selectOne to selectFirst
[friendica-addons.git] / pumpio / pumpio.php
index af93218022e7979aa0e481b1e16c9922d8519669..3f6f8a87040da7da5f5e39b42b3619d4c19f3fb3 100644 (file)
@@ -419,7 +419,7 @@ function pumpio_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;
                }