From 03443b47b21e3ad580fa87e64853c888db0c9495 Mon Sep 17 00:00:00 2001 From: Karin Gerritsen Date: Tue, 13 Jan 2015 12:56:05 -0700 Subject: [PATCH] CRM-15814 - Gecoder maxlength issue -> go to 12 Look like we can now get 12 digits from Google: for an address with long < -100 (Calgary, AB e.g). We better go to 12: -114.2162111 --- CRM/Contact/Form/Edit/Address.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contact/Form/Edit/Address.php b/CRM/Contact/Form/Edit/Address.php index aff4eb7d35..65500055d5 100644 --- a/CRM/Contact/Form/Edit/Address.php +++ b/CRM/Contact/Form/Edit/Address.php @@ -128,8 +128,8 @@ class CRM_Contact_Form_Edit_Address { 'country_id' => array(ts('Country'), $attributes['country_id'], 'country'), 'state_province_id' => array(ts('State/Province'), $attributes['state_province_id'], NULL), 'county_id' => array(ts('County'), $attributes['county_id'], NULL), - 'geo_code_1' => array(ts('Latitude'), array('size' => 9, 'maxlength' => 11), NULL), - 'geo_code_2' => array(ts('Longitude'), array('size' => 9, 'maxlength' => 11), NULL), + 'geo_code_1' => array(ts('Latitude'), array('size' => 9, 'maxlength' => 12), NULL), + 'geo_code_2' => array(ts('Longitude'), array('size' => 9, 'maxlength' => 12), NULL), 'street_number' => array(ts('Street Number'), $attributes['street_number'], NULL), 'street_name' => array(ts('Street Name'), $attributes['street_name'], NULL), 'street_unit' => array(ts('Apt/Unit/Suite'), $attributes['street_unit'], NULL), -- 2.25.1