Loading gmap.module +1 −1 Original line number Diff line number Diff line Loading @@ -1212,7 +1212,7 @@ function gmap_decimal($num) { * @see http://drupal.org/node/1940474 */ function gmap_geocode($address, $tld = 'com') { $data = drupal_http_request(gmap_views_protocol() . '://maps.googleapis.' . $tld . '/maps/api/geocode/json?address=' . urlencode($address) . '&sensor=false'); $data = drupal_http_request(gmap_views_protocol() . '://maps.googleapis.' . $tld . '/maps/api/geocode/json?address=' . urlencode($address)); if ($data->code == 200) { $data_decoded = json_decode($data->data); if ($data_decoded->status == 'ZERO_RESULTS' || $data_decoded->status == 'OVER_QUERY_LIMIT') { Loading lib/Drupal/gmap/GmapDefaults.php +0 −1 Original line number Diff line number Diff line Loading @@ -103,7 +103,6 @@ class GmapDefaults { $query = array( 'v' => variable_get('gmap_api_version', GMAP_API_VERSION), 'language' => $langcode, 'sensor' => 'false', 'libraries' => implode(',', array_merge(variable_get('gmap_api_libraries', array()), gmap_module_invoke('libraries', $m))), ); if ($key = gmap_get_key()) { Loading tests/inc/gmap_defaults.inc +0 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,6 @@ function legacy__gmap_base_js() { $query = array( 'v' => variable_get('gmap_api_version', GMAP_API_VERSION), 'language' => $langcode, 'sensor' => 'false', 'libraries' => implode(',', array_merge(variable_get('gmap_api_libraries', array()), legacy_gmap_module_invoke('libraries', $m))), ); if ($key = legacy_gmap_get_key()) { Loading Loading
gmap.module +1 −1 Original line number Diff line number Diff line Loading @@ -1212,7 +1212,7 @@ function gmap_decimal($num) { * @see http://drupal.org/node/1940474 */ function gmap_geocode($address, $tld = 'com') { $data = drupal_http_request(gmap_views_protocol() . '://maps.googleapis.' . $tld . '/maps/api/geocode/json?address=' . urlencode($address) . '&sensor=false'); $data = drupal_http_request(gmap_views_protocol() . '://maps.googleapis.' . $tld . '/maps/api/geocode/json?address=' . urlencode($address)); if ($data->code == 200) { $data_decoded = json_decode($data->data); if ($data_decoded->status == 'ZERO_RESULTS' || $data_decoded->status == 'OVER_QUERY_LIMIT') { Loading
lib/Drupal/gmap/GmapDefaults.php +0 −1 Original line number Diff line number Diff line Loading @@ -103,7 +103,6 @@ class GmapDefaults { $query = array( 'v' => variable_get('gmap_api_version', GMAP_API_VERSION), 'language' => $langcode, 'sensor' => 'false', 'libraries' => implode(',', array_merge(variable_get('gmap_api_libraries', array()), gmap_module_invoke('libraries', $m))), ); if ($key = gmap_get_key()) { Loading
tests/inc/gmap_defaults.inc +0 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,6 @@ function legacy__gmap_base_js() { $query = array( 'v' => variable_get('gmap_api_version', GMAP_API_VERSION), 'language' => $langcode, 'sensor' => 'false', 'libraries' => implode(',', array_merge(variable_get('gmap_api_libraries', array()), legacy_gmap_module_invoke('libraries', $m))), ); if ($key = legacy_gmap_get_key()) { Loading