Index: branches/wmf-deployment/extensions/ContributionTracking/ContributionTracking_body.php |
— | — | @@ -31,11 +31,11 @@ |
32 | 32 | $tracked_contribution = array( |
33 | 33 | 'note' => $wgRequest->getText('comment', NULL), |
34 | 34 | 'referrer' => $wgRequest->getText('referrer', NULL), |
35 | | - 'anonymous' => $wgRequest->getText('comment-option', 0), |
| 35 | + 'anonymous' => ($wgRequest->getCheck('comment-option', 0) ? 0 : 1), |
36 | 36 | 'utm_source' => $wgRequest->getText('utm_source', NULL), |
37 | 37 | 'utm_medium' => $wgRequest->getText('utm_medium', NULL), |
38 | 38 | 'utm_campaign' => $wgRequest->getText('utm_campaign', NULL), |
39 | | - 'optout' => $wgRequest->getText('email', 0), |
| 39 | + 'optout' => ($wgRequest->getCheck('email', 0) ? 0 : 1), |
40 | 40 | 'language' => $wgRequest->getText('language', NULL), |
41 | 41 | 'ts' => $ts, |
42 | 42 | ); |
Property changes on: branches/wmf-deployment/extensions/ContributionTracking |
___________________________________________________________________ |
Name: svn:mergeinfo |
43 | 43 | - /branches/REL1_15/phase3/extensions/ContributionTracking:51646 |
/trunk/extensions/ContributionTracking:56151-57449,58315-58567,58684 |
/trunk/phase3/extensions/ContributionTracking:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350 |
44 | 44 | + /branches/REL1_15/phase3/extensions/ContributionTracking:51646 |
/trunk/extensions/ContributionTracking:56151-57449,58315-58567,58684,58930 |
/trunk/phase3/extensions/ContributionTracking:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350 |