/[drupal]/contributions/modules/location/handlers/location_views_handler_filter_proximity.inc
ViewVC logotype

Diff of /contributions/modules/location/handlers/location_views_handler_filter_proximity.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3, Wed Dec 3 22:51:23 2008 UTC revision 1.4, Mon Aug 31 22:09:35 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: location_views_handler_filter_proximity.inc,v 1.2 2008/09/16 18:23:09 bdragon Exp $  // $Id: location_views_handler_filter_proximity.inc,v 1.3 2008/12/03 22:51:23 bdragon Exp $
3    
4  /**  /**
5   * General proximity filter for location latitude/longitude.   * General proximity filter for location latitude/longitude.
# Line 162  class location_views_handler_filter_prox Line 162  class location_views_handler_filter_prox
162      if ($this->options['type'] == 'postal' || $this->options['type'] == 'postal_default') {      if ($this->options['type'] == 'postal' || $this->options['type'] == 'postal_default') {
163        // Force default for country.        // Force default for country.
164        if ($this->options['type'] == 'postal_default') {        if ($this->options['type'] == 'postal_default') {
165          $this->value['country'] = variable_get('location_default_country', 'us');          $this->value['country'] = variable_get('site_default_country', 'us');
166        }        }
167    
168        // Zip code lookup.        // Zip code lookup.

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.2