MDL-32714 workshop: fixed SQL to load assessment form fields
commit6e7e184571906544f3865d3e8c2145a6d763af0d
authorDavid Mudrak <david@moodle.com>
Tue, 8 May 2012 22:57:57 +0000 (9 00:57 +0200)
committerDavid Mudrak <david@moodle.com>
Sat, 12 May 2012 08:26:36 +0000 (12 10:26 +0200)
treed978a408966c89587586f147a9d4bc31f644d1e2
parentefac2d2ad41dfb7a4c02ad1ef78d16100f07f765
MDL-32714 workshop: fixed SQL to load assessment form fields

Obvious problems emerged once there were some records in the
workshopform_rubric table with no workshopform_rubric_levels. As l.id
(empty in that case) was used as the key of the returned array, they all
were collapsed into a single one.
mod/workshop/form/rubric/lib.php