Index: trunk/extensions/ContributionTracking/ContributionTracking_body.php |
— | — | @@ -26,6 +26,8 @@ |
27 | 27 | } |
28 | 28 | |
29 | 29 | $db = contributionTrackingConnection(); |
| 30 | + |
| 31 | + $ts = wfTimeStamp( 'TS_DB' ); |
30 | 32 | |
31 | 33 | $tracked_contribution = array( |
32 | 34 | 'note' => $wgRequest->getText('comment', NULL), |
— | — | @@ -36,6 +38,7 @@ |
37 | 39 | 'utm_campaign' => $wgRequest->getText('utm_campaign', NULL), |
38 | 40 | 'optout' => ($wgRequest->getCheck('email', 0) ? 0 : 1), |
39 | 41 | 'language' => $wgRequest->getText('language', NULL), |
| 42 | + 'ts' => $ts, |
40 | 43 | ); |
41 | 44 | |
42 | 45 | // Make all empty strings NULL |