remove useless check

This commit is contained in:
Luana 2023-06-25 20:12:10 -03:00 committed by Shish
parent 8db0086d7a
commit 819a5b16e9

View file

@ -210,7 +210,7 @@ class BaseThemelet
}
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>";
} else {
$output .= "<option value='" . $value . "' >" . $op . "</option>";