MDL-33572 - assign: fixed syntax probblem found immediately after integration

Grr. shouldn't have escaped our review.
This commit is contained in:
Dan Poltawski 2012-06-12 13:41:54 +08:00
parent 08f5648de3
commit 502be9a069

View File

@ -900,7 +900,7 @@ class assign {
} else { } else {
$displaygrade = format_float($grade); $displaygrade = format_float($grade);
} }
$o = '<input type="text" name="quickgrade_' . $userid . '" value="' . $displaygrade . '" size="6" maxlength $o = '<input type="text" name="quickgrade_' . $userid . '" value="' . $displaygrade . '" size="6" maxlength="10" class="quickgrade"/>';
$o .= '&nbsp;/&nbsp;' . format_float($this->get_instance()->grade,2); $o .= '&nbsp;/&nbsp;' . format_float($this->get_instance()->grade,2);
$o .= '<input type="hidden" name="grademodified_' . $userid . '" value="' . $modified . '"/>'; $o .= '<input type="hidden" name="grademodified_' . $userid . '" value="' . $modified . '"/>';
return $o; return $o;