merged bug fix for 4400
This commit is contained in:
+2
-1
@@ -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\" />";
|
||||
|
||||
Reference in New Issue
Block a user