/[drupal]/contributions/modules/ecommerce/ec_address/ec_address.admin.inc
ViewVC logotype

Diff of /contributions/modules/ecommerce/ec_address/ec_address.admin.inc

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

revision 1.4.2.5, Thu Jul 2 10:25:39 2009 UTC revision 1.4.2.6, Sun Oct 18 22:31:32 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: ec_address.admin.inc,v 1.4.2.4 2009/04/16 07:38:07 gordon Exp $  // $Id: ec_address.admin.inc,v 1.4.2.5 2009/07/02 10:25:39 recidive Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 171  function ec_address_form_validate(&$form Line 171  function ec_address_form_validate(&$form
171    }    }
172    
173    module_load_include('inc', 'ec_store', 'ec_store.localization');    module_load_include('inc', 'ec_store', 'ec_store.localization');
174    dpm($form_state['values']);
175    if (($states = _ec_store_location_states($form_state['values']['country'])) && empty($states[$form_state['values']['state']])) {    if (($states = _ec_store_location_states($form_state['values']['country'])) && empty($states[$form_state['values']['state']])) {
176      form_set_error('state', t('Invalid state. Try to use the state code.'));      form_set_error('state', t('Invalid state. Try to use the state code.'));
177    }    }

Legend:
Removed from v.1.4.2.5  
changed lines
  Added in v.1.4.2.6

  ViewVC Help
Powered by ViewVC 1.1.2