Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F871606
D19.id.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, May 7, 11:15 PM
Size
554 B
Mime Type
text/x-diff
Expires
Thu, May 8, 11:15 PM (7 h, 44 m)
Engine
blob
Format
Raw Data
Handle
616696
Attached To
D19: INP-1389 - Remove hardcoded empty option in "CountryStatesHelper::PopulateStates" method
D19.id.diff
View Options
Index: branches/5.2.x/core/units/helpers/country_states_helper.php
===================================================================
--- branches/5.2.x/core/units/helpers/country_states_helper.php
+++ branches/5.2.x/core/units/helpers/country_states_helper.php
@@ -96,7 +96,6 @@
$field_options = $object->GetFieldOptions($state_field);
$field_options['options'] = $this->getStates($country_iso);
- $field_options['options'][''] = '';
$object->SetFieldOptions($state_field, $field_options, $object->isVirtualField($state_field));
}
Event Timeline
Log In to Comment