From 62c6c1dcba7df8ac30298ae3b4150b56296013c5 Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Sun, 10 Jul 2016 22:23:56 -0400 Subject: [PATCH] send ip to prefinery --- controller/action/DownloadActions.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controller/action/DownloadActions.class.php b/controller/action/DownloadActions.class.php index 3407317e..04eb9541 100644 --- a/controller/action/DownloadActions.class.php +++ b/controller/action/DownloadActions.class.php @@ -158,7 +158,8 @@ class DownloadActions extends Actions 'email' => $email, 'status' => $inviteCode ? 'active' : 'applied', 'invitation_code' => $inviteCode, - 'referrer_id' => $referrerId + 'referrer_id' => $referrerId, + 'profile' => ['ip' => $_SERVER['REMOTE_ADDR']] ]) ];