mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Notice on quiz config.html page.
This commit is contained in:
parent
7e874772a3
commit
dc5c68519e
@ -570,8 +570,10 @@ function quiz_process_options(&$quiz) {
|
||||
$quiz->preventlate = 0;
|
||||
}
|
||||
|
||||
// Quiz name (now a required field).
|
||||
$quiz->name = trim($quiz->name);
|
||||
// Quiz name.
|
||||
if (!empty($quiz->name)) {
|
||||
$quiz->name = trim($quiz->name);
|
||||
}
|
||||
|
||||
// Time limit. (Get rid of it if the checkbox was not ticked.)
|
||||
if (empty($quiz->timelimitenable)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user