diff --git a/mod/hotpot/index.php b/mod/hotpot/index.php index 4ad23d6ec90..c1eb4a6e8b2 100644 --- a/mod/hotpot/index.php +++ b/mod/hotpot/index.php @@ -241,7 +241,7 @@ // restrict results to this user only $select .= " AND a.userid='$USER->id'"; } - $usejoin = 1; + $usejoin = 0; if (has_capability('mod/hotpot:grade', get_context_instance(CONTEXT_SYSTEM, SITEID)) && $usejoin) { // join attempts table and details table $tables .= ",{$CFG->prefix}hotpot_details AS d";