1
0
Fork 0

cannot pass null by reference

This commit is contained in:
Friendika 2011-01-14 14:56:13 -08:00
parent 061e6eb33b
commit e7ae4ad3fa

View file

@ -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 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); salmon_return(200);
} }