Skip to content
Snippets Groups Projects
Commit 2541ffc0 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Fix thrown warning about undefined index

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1519 44740490-163a-0410-bde0-09ae8108e29a
parent 695fecf0
No related branches found
No related tags found
No related merge requests found
...@@ -131,7 +131,7 @@ foreach ($this->data['availdelimiters'] AS $key => $delim) { ...@@ -131,7 +131,7 @@ foreach ($this->data['availdelimiters'] AS $key => $delim) {
if ($key == '_') { if ($key == '_') {
echo '<option value="_">Total</option>'; echo '<option value="_">Total</option>';
} elseif ($delim == $_REQUEST['d']) { } elseif (isset($_REQUEST['d']) && $delim == $_REQUEST['d']) {
echo '<option selected="selected" value="' . htmlentities($delim) . '">' . htmlspecialchars($delimName) . '</option>'; echo '<option selected="selected" value="' . htmlentities($delim) . '">' . htmlspecialchars($delimName) . '</option>';
} else { } else {
echo '<option value="' . htmlentities($delim) . '">' . htmlspecialchars($delimName) . '</option>'; echo '<option value="' . htmlentities($delim) . '">' . htmlspecialchars($delimName) . '</option>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment