From: Friendika Date: Fri, 14 Jan 2011 22:56:13 +0000 (-0800) Subject: cannot pass null by reference X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e7ae4ad3fa010e5f636738366aae81e129990fa7;p=friendica.git cannot pass null by reference --- diff --git a/mod/salmon.php b/mod/salmon.php index 3c62a6d8c5..2ae6aa6287 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); }