From 9932144e893f8b395d7bfb3b913a7f00d4619f8d Mon Sep 17 00:00:00 2001 From: patrickslee Date: Thu, 23 Mar 2006 22:56:11 +0000 Subject: [PATCH] Fixed group switch icon cannot set a module to use no groups --- course/mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/mod.php b/course/mod.php index aec1a5e2ae..337784d55d 100644 --- a/course/mod.php +++ b/course/mod.php @@ -343,7 +343,7 @@ } exit; - } else if (!empty($groupmode) and confirm_sesskey()) { + } else if (isset($groupmode) and confirm_sesskey()) { $id = required_param( 'id', PARAM_INT ); -- 2.39.5