remove self closing tag

This commit is contained in:
Thomas Rupprecht 2022-12-03 23:49:55 +01:00 committed by Igor Scheller
parent 3b8a275e1c
commit 1d158da441
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ function make_select($items, $selected, $name, $title = null, $additionalButtons
$htmlItems[] = '<div class="form-check">' $htmlItems[] = '<div class="form-check">'
. '<input class="form-check-input" type="checkbox" id="' . $id . '" name="' . $name . '[]" value="' . $i['id'] . '" ' . '<input class="form-check-input" type="checkbox" id="' . $id . '" name="' . $name . '[]" value="' . $i['id'] . '" '
. (in_array($i['id'], $selected) ? ' checked="checked"' : '') . (in_array($i['id'], $selected) ? ' checked="checked"' : '')
. ' /><label class="form-check-label" for="' . $id . '">' . $i['name'] . '</label>' . '><label class="form-check-label" for="' . $id . '">' . $i['name'] . '</label>'
. (!isset($i['enabled']) || $i['enabled'] ? '' : icon('book')) . (!isset($i['enabled']) || $i['enabled'] ? '' : icon('book'))
. '</div>'; . '</div>';
} }