aboutsummaryrefslogtreecommitdiffstats
path: root/mod/salmon.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-14 14:56:13 -0800
committerFriendika <info@friendika.com>2011-01-14 14:56:13 -0800
commite7ae4ad3fa010e5f636738366aae81e129990fa7 (patch)
tree7b074e621e57be7d8f33eec8a281d5dd0bc3ab65 /mod/salmon.php
parent061e6eb33b358f611d9288dc4d702e7d24046e04 (diff)
downloadvolse-hubzilla-e7ae4ad3fa010e5f636738366aae81e129990fa7.tar.gz
volse-hubzilla-e7ae4ad3fa010e5f636738366aae81e129990fa7.tar.bz2
volse-hubzilla-e7ae4ad3fa010e5f636738366aae81e129990fa7.zip
cannot pass null by reference
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);
}