Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After a few tests had issues with the internal browser and select inputs I decided to investigate. After talking with chx in IRC we found that the issue lies with a single character being inserted.
The original code:
if ($option['selected'] || (!$first && $single)) {
corrected:
if ($option['selected'] || ($first && $single)) {
The appears to fix several issues.
Comments
Comment #1
chx CreditAttribution: chx commentedComment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.