In the issue #1182432: Block delta can be mixed upper- and lowercase you wrapped the delta in a drupal_strtolower function to be compatible with jquery on lowercase classes. This is correct, but when checking for a default value in the form alter, you check for the delta in the settings array without setting it to lower class.

This means that if a delta is mixed case, the form will not find a default value for it.

I suggest putting the same drupal_strtolower function around the delta when finding the default value.

Comments

yanniboi’s picture

Status: Active » Needs review
StatusFileSize
new943 bytes

Here is a patch:

yanniboi’s picture

Sorry, missed some stuff off...

darvanen’s picture

Issue summary: View changes
Status: Needs review » Closed (duplicate)