From: patrickslee Date: Thu, 23 Mar 2006 22:56:11 +0000 (+0000) Subject: Fixed group switch icon cannot set a module to use no groups X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9932144e893f8b395d7bfb3b913a7f00d4619f8d;p=moodle.git Fixed group switch icon cannot set a module to use no groups --- 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 );