check input
This commit is contained in:
parent
16fc7f7e86
commit
d4f0d6db96
|
@ -142,7 +142,7 @@ if (isset($_POST['type'])) {
|
||||||
// show start page
|
// show start page
|
||||||
$divClass = 'user';
|
$divClass = 'user';
|
||||||
if (isset($_REQUEST['type'])) {
|
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="' . $divClass . '-bright smallPaddingContent">';
|
||||||
echo "<div class=\"title\">\n";
|
echo "<div class=\"title\">\n";
|
||||||
|
|
Loading…
Reference in New Issue