Index: civicrm/trunk/sites/all/modules/queue2civicrm/recurring/recurring.module |
— | — | @@ -390,7 +390,7 @@ |
391 | 391 | $result = db_query( |
392 | 392 | $query, |
393 | 393 | date( 'Y-m-d H:i:s', $msg[ 'cancel_date' ] ), |
394 | | - date( 'Y-m-d H:i:s', $msg[ 'end_date' ] ), |
| 394 | + date( 'Y-m-d H:i:s', $msg[ 'cancel_date' ] ), |
395 | 395 | $msg[ 'subscr_id' ] ); |
396 | 396 | if ( !$result ) { |
397 | 397 | watchdog( 'recurring', 'There was a problem updating the subscription for cancelation for subscriber id: %subscr_id', array( '%subscr_id' => print_r( $msg[ 'subscr_id' ], true )), WATCHDOG_NOTICE ); |