From d9df2a8993661de3e449f46a102d697214c05004 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Thu, 11 Feb 2010 10:24:59 +0000 Subject: [PATCH] MDL-20204 fixed regression --- mod/quiz/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/quiz/edit.php b/mod/quiz/edit.php index 340a2ea612f..755931e4731 100644 --- a/mod/quiz/edit.php +++ b/mod/quiz/edit.php @@ -100,7 +100,7 @@ function module_specific_controls($totalnumber, $recurse, $category, $cmid, $cmo '
'; $attributes = array(); $attributes['disabled'] = $cmoptions->hasattempts ? 'disabled' : null; - $select = html_select::make($randomcount, 'randomcount', '1', null, $attributes); + $select = html_writer::select($randomcount, 'randomcount', '1', null, $attributes); $out .= get_string('addrandom', 'quiz', $select); $out .= ''; $out .= '';