Hi guys,

just spotted the following typo in the address.module (// $Id: address.module,v 1.42.2.11.2.3.2.18 2007/07/24 01:34:02 gordon Exp $)

Line number 394 is incorrect: $states = store_build_states($country); that returns a bug for US customers when filling out their address they can't select a state. The dropdown menus get's stuck on Please Select...

It should be changed to $states = store_location_build_states($country);

Comments

drew reece’s picture

Appears to be similar to this issue…

http://drupal.org/node/227593

Phillip Mc’s picture

Assigned: Unassigned » Phillip Mc
Status: Active » Closed (duplicate)

You're right Drew. Well spotted. Closing this issue, marking as Duplicate and pointing people here: http://drupal.org/node/227593

pfaocle’s picture

Title: [EC 5.x-3.x-dev] typo in address.module for build_states option. » Typo in address.module for build_states option
Version: 5.x-3.x-dev » 5.x-3.4
Assigned: Phillip Mc » Unassigned
Status: Closed (duplicate) » Active

This bug is still present in 3.4, and the fix above is the better one than presented in Province / State Select, IMO.

Phillip Mc’s picture

just to confirm, this is still in the 5.x-3.x dev version as of todays date.