Index: modules/location/location.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/location/location.module,v
retrieving revision 1.62
diff -u -r1.62 location.module
--- modules/location/location.module	19 Apr 2006 00:08:32 -0000	1.62
+++ modules/location/location.module	21 May 2006 08:57:28 -0000
@@ -824,7 +824,7 @@
     }
   }
 
-  if ($op == 'update' || $op == 'insert') {
+  if (($op == 'update' || $op == 'insert') && $category == 'account') {
     if ($user_setting == LOCATION_USER_CIVICRM_ONLY) {
       // There was no location form. We need to map CiviCRM fields to location fields.
       $edit['location'] = array();
