E-notice fix, next_sched_contribution
authorEileen McNaughton <eileen@mcnaughty.com>
Mon, 7 Apr 2014 05:49:42 +0000 (17:49 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Mon, 7 Apr 2014 21:11:13 +0000 (09:11 +1200)
Field was renamed to reflect in built handling around suffix '_date' but this instance missed

CRM/Contribute/BAO/ContributionRecur.php

index 96b363ae358df755d98806a6ac062fe13cd4fadc..0c4fc5e71e05cfc56607545716f554ab35f61e17 100644 (file)
@@ -335,7 +335,7 @@ SELECT r.payment_processor_id
       $params[$recurDAO->id]['contactId'] = $recurDAO->contact_id;
       $params[$recurDAO->id]['start_date'] = $recurDAO->start_date;
       $params[$recurDAO->id]['end_date'] = $recurDAO->end_date;
-      $params[$recurDAO->id]['next_sched_contribution_date'] = $recurDAO->next_sched_contribution;
+      $params[$recurDAO->id]['next_sched_contribution_date'] = $recurDAO->next_sched_contribution_date;
       $params[$recurDAO->id]['amount'] = $recurDAO->amount;
       $params[$recurDAO->id]['currency'] = $recurDAO->currency;
       $params[$recurDAO->id]['frequency_unit'] = $recurDAO->frequency_unit;