mirror of
https://github.com/moodle/moodle.git
synced 2025-02-19 07:41:02 +01:00
allow "penalties" to be returned from Rottmeier Find-It quizzes
This commit is contained in:
parent
0fcac008cb
commit
0e143b3514
File diff suppressed because it is too large
Load Diff
@ -2012,12 +2012,16 @@ function hotpot_adjust_response_field($quiztype, &$question, &$num, &$name, &$da
|
||||
break;
|
||||
case 'jcloze':
|
||||
$question->type = HOTPOT_JCLOZE;
|
||||
$question->name = $num;
|
||||
if (is_numeric($num)) {
|
||||
$question->name = $num;
|
||||
}
|
||||
switch ($name) {
|
||||
case 'penalties':
|
||||
$name = 'checks';
|
||||
if (is_numeric($data)) {
|
||||
$data++;
|
||||
if (is_numeric($num)) {
|
||||
$name = 'checks';
|
||||
if (is_numeric($data)) {
|
||||
$data++;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'clue_shown':
|
||||
|
Loading…
x
Reference in New Issue
Block a user