remove useless check
This commit is contained in:
parent
8db0086d7a
commit
819a5b16e9
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ class BaseThemelet
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($options as $value => $op) {
|
foreach ($options as $value => $op) {
|
||||||
if (isset($selected_options) && in_array($value, $selected_options)) {
|
if (in_array($value, $selected_options)) {
|
||||||
$output .= "<option value='" . $value . "' selected>" . $op . "</option>";
|
$output .= "<option value='" . $value . "' selected>" . $op . "</option>";
|
||||||
} else {
|
} else {
|
||||||
$output .= "<option value='" . $value . "' >" . $op . "</option>";
|
$output .= "<option value='" . $value . "' >" . $op . "</option>";
|
||||||
|
|
Reference in a new issue