Index: civicrm/trunk/sites/all/modules/thank_you/thank_you.module |
— | — | @@ -128,10 +128,9 @@ |
129 | 129 | return $rendering; |
130 | 130 | } |
131 | 131 | |
132 | | -function thank_you_send( $contribution_info ) { |
| 132 | +function thank_you_send( $contribution_id ) { |
133 | 133 | civicrm_initialize(true); |
134 | 134 | require_once 'api/v2/Contribute.php'; |
135 | | - $contribution_id = $contribution_info[ 'contribution_id' ]; |
136 | 135 | $params = array( 'contribution_id' => $contribution_id ); |
137 | 136 | $contribution = &civicrm_contribution_get( $params ); |
138 | 137 | |