mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-15229
Fixed incorrect options array for DB call
This commit is contained in:
parent
f659219406
commit
e5d7d1dc02
@ -316,7 +316,7 @@ class qformat_default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Give the question a unique version stamp determined by question_hash()
|
// Give the question a unique version stamp determined by question_hash()
|
||||||
$DB->set_field('question', 'version', question_hash($question), array('id', $question->id));
|
$DB->set_field('question', 'version', question_hash($question), array('id'=>$question->id));
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user