Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
install system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Oct 2010 at 00:52 UTC
Updated:
3 Jan 2014 at 02:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dwwNo idea if this is the best solution here, but this is what the admin UI does at admin/config/regional/settings. WFM on a clean install. If we wanted to exactly replicate the pre #140783 UI we could easily use t('- None -') here, instead of being consistent with admin/config/regional/settings...
Comment #2
damien tournoud commentedThe best way would be to add
#empty_value => ''to this element (assuming I understand the other issue correctly).Comment #3
damien tournoud commentedIndeed.
Comment #4
dwwShouldn't we do the same in system_regional_settings() then?
Comment #5
damien tournoud commentedIndeed.
Comment #6
markabur commentedLooks good. Tested #5, default country is back to "- None -".
Comment #7
sunYes, that's correct, for both.
BTW, can someone explain me WTF this Default country is? It's only ever set in the installer, only get in System regional settings, and the description does not explain what it "could" be good for.
Powered by Dreditor.
Comment #8
sunThat said, that's a different issue.
Comment #9
dwwIf we're fixing system_regional_settings() we need to do it right. One sec, I'll re-roll.
Comment #10
dwwLike so...
Comment #11
tstoecklerRTBC if it comes back green.
Comment #12
juan_g commentedsun wrote:
It seems to have been introduced for D7 core by #333156: Add ability to configure site default country. They said:
This country setting (for time zones, languages, date formats, etc.) is also provided for D6 by the Site Country module, used by Country code. Both seem to be experimental modules.
Comment #13
juan_g commentedIt's green now...
Comment #14
webchickYay!! Committed to HEAD!
(Sorry, Damien, I was too eager to commit this and missed your name on the commit message. I'll add you twice next time.)