r80224 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80223‎ | r80224 | r80225 >
Date:01:03, 14 January 2011
Author:awjrichards
Status:deferred
Tags:
Comment:
Added 'lcoation_type' to location update API call, also apparently req'd
Modified paths:
  • /civicrm/trunk/sites/all/modules/queue2civicrm/queue2civicrm_common.inc (modified) (history)

Diff [purge]

Index: civicrm/trunk/sites/all/modules/queue2civicrm/queue2civicrm_common.inc
@@ -211,7 +211,8 @@
212212 'state_province' => _queue2civicrm_get_state( $msg[ 'country' ], $msg['state_province'] ),
213213 'postal_code' => $msg['postal_code'],
214214 'country' => $msg['country'],
215 - 'email' => $msg['email']
 215+ 'email' => $msg['email'],
 216+ 'location_type' => 'Home',
216217 );
217218 $location_result = &civicrm_location_update( $address );
218219 watchdog( 'queue2civicrm', 'Result for updating location: %location', array( '%location' => print_r( $location_result, true )), WATCHDOG_DEBUG );

Status & tagging log