diff options
Diffstat (limited to 'mod/salmon.php')
-rw-r--r-- | mod/salmon.php | 4 |
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); } |