...because Form API returns integer keys as strings.

Symptom: Site time zone is broken currently. It works, but if you reload the Clock config form, the default value is wrong, so if you just save it without changing anything, you're back to custom time zone.

CommentFileSizeAuthor
type-int-string.patch1006 byteststoeckler
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tstoeckler’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Active » Needs work

Can't wait to get 7.x-2.x stable, this is really an incredible mess...
http://drupal.org/commitlog/commit/12842/c7061ce508eca7462ab7be6ccad6526...
Committed to 7.x-1.x
Don't know if this needs to be backported.

tstoeckler’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Needs work » Fixed

Nope, this can't be backported. Drupal 6 uses string values (please don't ask me why...).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.