aboutsummaryrefslogtreecommitdiffstats
path: root/mod/salmon.php
diff options
context:
space:
mode:
authorroot <root@diekershoff.homeunix.net>2011-01-15 08:54:41 +0100
committerroot <root@diekershoff.homeunix.net>2011-01-15 08:54:41 +0100
commit3323f256c35ceb30a4b2ac1984a2eded672eb33f (patch)
tree7b074e621e57be7d8f33eec8a281d5dd0bc3ab65 /mod/salmon.php
parent30551b24ec833ef58e98071e56cb3bb94f302dd3 (diff)
parente7ae4ad3fa010e5f636738366aae81e129990fa7 (diff)
downloadvolse-hubzilla-3323f256c35ceb30a4b2ac1984a2eded672eb33f.tar.gz
volse-hubzilla-3323f256c35ceb30a4b2ac1984a2eded672eb33f.tar.bz2
volse-hubzilla-3323f256c35ceb30a4b2ac1984a2eded672eb33f.zip
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod/salmon.php')
-rw-r--r--mod/salmon.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/salmon.php b/mod/salmon.php
index 3c62a6d8c..2ae6aa628 100644
--- a/mod/salmon.php
+++ b/mod/salmon.php
@@ -201,7 +201,9 @@ function salmon_post(&$a) {
// consume_feed will only accept a follow activity from this person if there is no contact record.
- consume_feed($feedxml,$importer,((count($r)) ? $r[0] : null),$hub);
+ $contact_rec = ((count($r)) ? $r[0] : null);
+
+ consume_feed($feedxml,$importer,$contact_rec,$hub);
salmon_return(200);
}