r80225 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80224‎ | r80225 | r80226 >
Date:01:06, 14 January 2011
Author:awjrichards
Status:deferred
Tags:
Comment:
Actually it's apparently location_type_id that's req'd, not location_type
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
@@ -212,7 +212,7 @@
213213 'postal_code' => $msg['postal_code'],
214214 'country' => $msg['country'],
215215 'email' => $msg['email'],
216 - 'location_type' => 'Home',
 216+ 'location_type_id' => '1',
217217 );
218218 $location_result = &civicrm_location_update( $address );
219219 watchdog( 'queue2civicrm', 'Result for updating location: %location', array( '%location' => print_r( $location_result, true )), WATCHDOG_DEBUG );

Status & tagging log