fix error on line 700 when student displays hotpot/index.php
This commit is contained in:
+1
-1
@@ -727,7 +727,7 @@ function hotpot_get_all_instances_in_course($modulename, $course) {
|
||||
|
||||
if ($isteacher) {
|
||||
$visible = true;
|
||||
} else if ($rawmod->thismodule=='hotpot') {
|
||||
} else if ($modulename=='hotpot') {
|
||||
$visible = hotpot_is_visible($rawmod);
|
||||
} else {
|
||||
$visible = $rawmod->visible;
|
||||
|
||||
Reference in New Issue
Block a user