From f25f1e1b66d15f0ddc6d9668ed892714d9c1609a Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 26 Sep 2002 11:10:20 +0000 Subject: [PATCH] Little bug that caused the guest icon to display even when guest was turned off (if the password was null) --- course/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/lib.php b/course/lib.php index 06204fc05a..5d9682383b 100644 --- a/course/lib.php +++ b/course/lib.php @@ -250,7 +250,7 @@ function print_course($course) { } echo "

"; } - if ($course->guest or ($course->password == "")) { + if ($course->guest) { echo "wwwroot/course/view.php?id=$course->id\">"; echo "\"\"wwwroot/user/user.gif\">  "; } -- 2.39.5