mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Due date and start date are now optional, as requested in bug 867 and bug 3635
This commit is contained in:
parent
a61a956c65
commit
bb52d44c6a
9 changed files with 175 additions and 91 deletions
|
@ -101,7 +101,7 @@
|
|||
$currentsection = $quiz->section;
|
||||
}
|
||||
|
||||
$closequiz = userdate($quiz->timeclose);
|
||||
$closequiz = $quiz->timeclose ? userdate($quiz->timeclose) : '';
|
||||
|
||||
if (isteacher($course->id)) {
|
||||
if ($usercount = count_records_select('quiz_attempts', "quiz = '$quiz->id' AND preview = '0'", 'COUNT(DISTINCT userid)')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue