Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

mod/hotpot MDL-17702: fix validation error on nested class="logininfo…

…" elements
  • Loading branch information...
commit 0e3973f02a5d550dd8bf0d6327ed780affaa6088 1 parent 6264006
@gbateson gbateson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/hotpot/view.php
View
2  mod/hotpot/view.php
@@ -49,7 +49,7 @@
$button = update_module_button($cm->id, $course->id, get_string("modulename", "hotpot"));
$button = '<div style="font-size:0.75em;">'.$button.'</div>';
- $loggedinas = '<span class="logininfo">'.user_login_string($course, $USER).'</span>';
+ $loggedinas = user_login_string($course, $USER);
$time = time();
$hppassword = optional_param('hppassword', '');
if (HOTPOT_FIRST_ATTEMPT && !has_capability('mod/hotpot:grade', $context)) {
Please sign in to comment.
Something went wrong with that request. Please try again.