]> git.mjollnir.org Git - moodle.git/commit
Now "attempt", "submit" and "review" actions
authorstronk7 <stronk7>
Tue, 17 Feb 2004 17:27:27 +0000 (17:27 +0000)
committerstronk7 <stronk7>
Tue, 17 Feb 2004 17:27:27 +0000 (17:27 +0000)
commit10672458f952b6eb2272f9e9a740af5683e24b46
tree6e1edcd02c49ab212ba660f3b894d11ab38bd2e5
parent4c918350d6ef80408599e786e07cafbf703ff299
Now "attempt", "submit" and "review" actions
use the q=xxx&attempt=yyyy syntax instead of
        id=xxxx&attempt=yyyy (not working old one)
It's necessary to change the "review" add_to_log() call
to use this sintax. It uses the old (nor working) one.
I wait to Martin to do this, because I've sent one email about this.
For info, the line to correct is number 57 in review.php from:
add_to_log($course->id, "quiz", "review", "review.php?id=$cm->id&attempt=$attempt->id", "$quiz->id", "$cm->id");
to:
add_to_log($course->id, "quiz", "review", "review.php?q=$quiz->id&attempt=$attempt->id", "$quiz->id", "$cm->id");
Ciao :-)
mod/quiz/restorelib.php