merged bug fix for 4400

This commit is contained in:
toyomoyo
2005-12-02 02:37:01 +00:00
parent a266c90455
commit b506bb51e4
+2 -1
View File
@@ -289,7 +289,8 @@
// Print other functions
echo '<div class="buttons"><table align="center"><tr>';
if ($currentuser and !isguest()) {
if ($currentuser and !isguest() and !is_restricted_user($USER->username)) {
if ($internalpassword ) {
echo "<td nowrap=\"nowrap\"><form action=\"$internalpassword\" method=\"get\">";
echo "<input type=\"hidden\" name=\"id\" value=\"$course->id\" />";