MDL-12662, fix undefined index(IIS)

This commit is contained in:
dongsheng
2008-04-11 05:34:23 +00:00
parent 143c1eb921
commit 838c7d2969
+1 -1
View File
@@ -595,7 +595,7 @@
echo '<form action="action_redir.php" method="post" id="participantsform" onsubmit="return checksubmit(this);">';
echo '<div>';
echo '<input type="hidden" name="sesskey" value="'.$USER->sesskey.'" />';
echo '<input type="hidden" name="returnto" value="'.s($_SERVER['REQUEST_URI']).'" />';
echo '<input type="hidden" name="returnto" value="'.s(me()).'" />';
}
if ($CFG->longtimenosee > 0 && $CFG->longtimenosee < 1000 && $totalcount > 0) {