MDL-8177 - Oops. In Moodle 1.5, the table was called something different.

This commit is contained in:
tjhunt
2007-03-10 00:37:53 +00:00
parent e726a312fe
commit be7be91fdb
@@ -54,7 +54,7 @@ class quiz_random_qtype extends quiz_default_questiontype {
} else {
$categorylist = $question->category;
}
if ($catrandoms = get_records_select('question',
if ($catrandoms = get_records_select('quiz_questions',
"category IN ($categorylist)
AND parent = '0'
AND hidden = '0'