MDL-20058 first prototype of the grading report renderer

This commit is contained in:
David Mudrak
2010-01-04 18:08:27 +00:00
parent 00aca3c14c
commit 29dc43e7e4
8 changed files with 483 additions and 157 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ class workshop_random_allocator implements workshop_allocator {
$newallocations = $this->get_unique_allocations($newallocations);
$authorids = $this->get_author_ids($newallocations);
$submissions = $this->workshop->get_submissions($authorids, false);
$submissions = $this->workshop->get_submissions($authorids);
$submissions = $this->index_submissions_by_authors($submissions);
foreach ($newallocations as $newallocation) {
list($reviewerid, $authorid) = each($newallocation);