Index: branches/fundraising/deployment/payments_1.17/extensions/DonationInterface/gateway_common/DonationData.php |
— | — | @@ -66,7 +66,7 @@ |
67 | 67 | 'numAttempt' => $wgRequest->getVal( 'numAttempt', '0' ), |
68 | 68 | 'referrer' => ( $wgRequest->getVal( 'referrer' ) ) ? $wgRequest->getVal( 'referrer' ) : $wgRequest->getHeader( 'referer' ), |
69 | 69 | 'utm_source' => $wgRequest->getText( 'utm_source' ), |
70 | | - 'utm_source_id' => $wgRequest->getVal( 'utm_source_id', 0 ), |
| 70 | + 'utm_source_id' => $wgRequest->getVal( 'utm_source_id', null ), |
71 | 71 | 'utm_medium' => $wgRequest->getText( 'utm_medium' ), |
72 | 72 | 'utm_campaign' => $wgRequest->getText( 'utm_campaign' ), |
73 | 73 | // try to honor the user-set language (uselang), otherwise the language set in the URL (language) |
— | — | @@ -199,7 +199,7 @@ |
200 | 200 | 'numAttempt' => 0, |
201 | 201 | 'referrer' => 'http://www.baz.test.com/index.php?action=foo&action=bar', |
202 | 202 | 'utm_source' => 'test_src', |
203 | | - 'utm_source_id' => 0, |
| 203 | + 'utm_source_id' => null, |
204 | 204 | 'utm_medium' => 'test_medium', |
205 | 205 | 'utm_campaign' => 'test_campaign', |
206 | 206 | 'language' => 'en', |