check input

This commit is contained in:
Roland Gruber 2018-03-12 19:53:41 +01:00
parent 16fc7f7e86
commit d4f0d6db96
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ if (isset($_POST['type'])) {
// show start page
$divClass = 'user';
if (isset($_REQUEST['type'])) {
$divClass = \LAM\TYPES\getScopeFromTypeId($_REQUEST['type']);
$divClass = htmlspecialchars(\LAM\TYPES\getScopeFromTypeId($_REQUEST['type']));
}
echo '<div class="' . $divClass . '-bright smallPaddingContent">';
echo "<div class=\"title\">\n";