Internal browser always chooses last option overwriting selected options
boombatower - April 9, 2008 - 22:44
| Project: | SimpleTest |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | boombatower |
| Status: | closed |
Jump to:
Description
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:
<?php
if ($option['selected'] || (!$first && $single)) {
?>corrected:
<?php
if ($option['selected'] || ($first && $single)) {
?>The appears to fix several issues.

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