Merged in bugfix/PMCORE-2959 (pull request #7889)
PMCORE-2959 Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
@@ -3591,7 +3591,7 @@ class XmlFormFieldDropdown extends XmlFormField
|
||||
$html .= 'value="' . (($findValue != '') ? $findValue : $firstValue) . '" />';
|
||||
}
|
||||
|
||||
$this->selectedValue = ($findValue != "") ? $findValue : ($count == 0) ? $firstValue : "";
|
||||
$this->selectedValue = (!empty($findValue) ? $findValue : ($count == 0)) ? $firstValue : "";
|
||||
} else {
|
||||
//Render Field showing only value;
|
||||
foreach ($this->option as $optValue => $optName) {
|
||||
|
||||
Reference in New Issue
Block a user