Index: civicrm/trunk/sites/all/modules/queue2civicrm/queue2civicrm_common.inc |
— | — | @@ -212,7 +212,7 @@ |
213 | 213 | 'postal_code' => $msg['postal_code'], |
214 | 214 | 'country' => $msg['country'], |
215 | 215 | 'email' => $msg['email'], |
216 | | - 'location_type' => 'Home', |
| 216 | + 'location_type_id' => '1', |
217 | 217 | ); |
218 | 218 | $location_result = &civicrm_location_update( $address ); |
219 | 219 | watchdog( 'queue2civicrm', 'Result for updating location: %location', array( '%location' => print_r( $location_result, true )), WATCHDOG_DEBUG ); |