Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1404332
D19.id30.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Feb 25, 5:49 PM
Size
488 B
Mime Type
text/x-diff
Expires
Thu, Feb 26, 5:49 PM (12 h, 53 m)
Engine
blob
Format
Raw Data
Handle
900081
Attached To
D19: INP-1389 - Remove hardcoded empty option in "CountryStatesHelper::PopulateStates" method
D19.id30.diff
View Options
Index: core/units/helpers/country_states_helper.php
===================================================================
--- core/units/helpers/country_states_helper.php
+++ core/units/helpers/country_states_helper.php
@@ -82,7 +82,6 @@
$field_options = $object->GetFieldOptions($state_field);
$field_options['options'] = $cache[$country_iso];
- $field_options['options'][''] = '';
$object->SetFieldOptions($state_field, $field_options);
}
\ No newline at end of file
Event Timeline
Log In to Comment