Fixed bug with improper expiration dates being set for friends

Signed-off-by: Edouard Poitras <edouard@eclipse.org>
diff --git a/thankyou.php b/thankyou.php
index 08ef0fb..62e2e41 100644
--- a/thankyou.php
+++ b/thankyou.php
@@ -169,6 +169,8 @@
     $data['firstname'] = $existing_friend->getFirstName();
     $data['lastname'] = $existing_friend->getLastName();
     $anon_friend->insertUpdateFriend();
+    $check_contribution->setFriendID($anon_friend->getFriendID());
+    $check_contribution->updateContribution();
   }
 }
 // Check to see if this transaction has already been processed.