Index: trunk/extensions/DonationInterface/gateway_common/DonationData.php |
— | — | @@ -92,7 +92,13 @@ |
93 | 93 | $this->normalizeAndSanitize(); |
94 | 94 | |
95 | 95 | //TODO: test with _cache_ on. |
96 | | - if ( !empty( $this->normalized ) && ( $this->getVal( 'numAttempt' ) == '0' && ((!$this->getVal( 'utm_source_id' ) == false ) || is_null($this->getVal( '_cache_' )) ) ) ) { |
| 96 | +// if ( !empty( $this->normalized ) && |
| 97 | +// ( $this->getVal( 'numAttempt' ) == '0' && |
| 98 | +// ((!$this->getVal( 'utm_source_id' ) == false ) || |
| 99 | +// is_null($this->getVal( '_cache_' )) ) ) ) { |
| 100 | +// error_log('about to save contribution tracking from an initial populate: ' . $this->getVal('contribution_tracking_id')); |
| 101 | + |
| 102 | + if (!$this->isSomething( 'contribution_tracking_id' )){ |
97 | 103 | $this->saveContributionTracking(); |
98 | 104 | } |
99 | 105 | } |