]> git.mjollnir.org Git - moodle.git/commit
MDL-14363 - Fix a broken redirect from mod/quiz/ attempt.php to edit.php when the...
authortjhunt <tjhunt>
Tue, 22 Apr 2008 15:19:50 +0000 (15:19 +0000)
committertjhunt <tjhunt>
Tue, 22 Apr 2008 15:19:50 +0000 (15:19 +0000)
commit44847eb8689aded152d5d843b51c135647cc53c0
tree54cb6e630b67c18a60a2f4998ebb423b6473c61c
parent8a99f5c3fc10345837d120b619a8bec6fcf686de
MDL-14363 - Fix a broken redirect from mod/quiz/ attempt.php to edit.php when the quiz has not questions.

Also, when the quiz has no questions, disable the Info, Reports and Preview tabs, which, in this case, just redirect back to the Edit tab anyway.

Finally, change a redirect in quiz view.php, which used a relative URL, to a full url starting $CFG->wwwroot.
mod/quiz/attempt.php
mod/quiz/tabs.php
mod/quiz/view.php