Running 1.38a+FEC+security.
If a customer creates an address-book entry for a country OTHER THAN the store's default country and then goes to update that entry, the drop-down for State/Province shows "Please select" instead of the previously-stored selection.
The selection is in the database (checked via phpMyAdmin). The problem appears to surface within \includes\modules\pages\address_book_process\header_php.php at line 304:
This statement, on entry from a 'edit' request, always goes down the 'false' path because at that point, nothing from the form has been posted.Code:$selected_country = (isset($_POST['zone_country_id']) && $_POST['zone_country_id'] != '') ? $country : SHOW_CREATE_ACCOUNT_DEFAULT_COUNTRY;
I'm not sure what the 'proper' fix is ... please help.
Bookmarks