Index: civicrm/trunk/sites/all/modules/queue2civicrm/recurring/recurring.module |
— | — | @@ -232,7 +232,7 @@ |
233 | 233 | //dsm($contribution); |
234 | 234 | watchdog('queue2civicrm', 'Contribution:<pre>' . check_plain(print_r($msg, TRUE)) . '</pre>'); |
235 | 235 | |
236 | | - $contact[ 'id' ] = $recur_record->contact_id; |
| 236 | + $contact[ 'contact_id' ] = $recur_record->contact_id; |
237 | 237 | |
238 | 238 | //insert the contribution |
239 | 239 | $contribution = _queue2civicrm_contribution_insert( $msg, $contact, $recur_record->id ); |
— | — | @@ -250,7 +250,7 @@ |
251 | 251 | // construct an array of useful info to invocations of queue2civicrm_import |
252 | 252 | $contribution_info = array( |
253 | 253 | 'contribution_id' => $contribution['id'], |
254 | | - 'contact_id' => $contact['id'], |
| 254 | + 'contact_id' => $contact[ 'contact_id' ], |
255 | 255 | 'msg' => $msg, |
256 | 256 | ); |
257 | 257 | |
Index: civicrm/trunk/sites/all/modules/queue2civicrm/queue2civicrm_common.inc |
— | — | @@ -170,7 +170,7 @@ |
171 | 171 | require_once 'api/v2/Location.php'; |
172 | 172 | |
173 | 173 | $address = array( |
174 | | - 'contact_id' => $contact['id'], |
| 174 | + 'contact_id' => $contact[ 'contact_id' ], |
175 | 175 | 'location_type' => 'Home', |
176 | 176 | 'street_address' => $msg['street_address'], |
177 | 177 | 'supplemental_address_1' => $msg['supplemental_address_1'], |
— | — | @@ -201,7 +201,7 @@ |
202 | 202 | require_once 'api/v2/Location.php'; |
203 | 203 | |
204 | 204 | $address = array( |
205 | | - 'contact_id' => $contact['id'], |
| 205 | + 'contact_id' => $contact[ 'contact_id' ], |
206 | 206 | 'street_address' => $msg['street_address'], |
207 | 207 | 'supplemental_address_1' => $msg['supplemental_address_1'], |
208 | 208 | 'city' => $msg['city'], |
— | — | @@ -230,7 +230,7 @@ |
231 | 231 | |
232 | 232 | // Insert the contribution record |
233 | 233 | $contribution = array( |
234 | | - 'contact_id' => $contact['id'], |
| 234 | + 'contact_id' => $contact[ 'contact_id' ], |
235 | 235 | 'total_amount' => $msg['gross'], |
236 | 236 | 'contribution_type_id' => 9, // cash donation @fixme this needs to be pulled from a variable that was available with fundcore, but no longer exists |
237 | 237 | 'payment_instrument_id' => 6, // contribution @fixme see above |
— | — | @@ -299,7 +299,7 @@ |
300 | 300 | |
301 | 301 | $tag = array( |
302 | 302 | 'tag_id' => 7, // review tag @fixme should this also be variable? |
303 | | - 'contact_id' => $contact['id'] |
| 303 | + 'contact_id' => $contact[ 'contact_id' ] |
304 | 304 | ); |
305 | 305 | $tag_result = &civicrm_entity_tag_add( $tag ); |
306 | 306 | return $tag_result; |
Index: civicrm/trunk/sites/all/modules/queue2civicrm/queue2civicrm.module |
— | — | @@ -207,7 +207,7 @@ |
208 | 208 | // construct an array of useful info to invocations of queue2civicrm_import |
209 | 209 | $contribution_info = array( |
210 | 210 | 'contribution_id' => $contribution['id'], |
211 | | - 'contact_id' => $contact['id'], |
| 211 | + 'contact_id' => $contact['contact_id'], |
212 | 212 | 'msg' => $msg, |
213 | 213 | ); |
214 | 214 | |