fix Error in call to helpbutton function: at least one of $title and $linktext is required

This commit is contained in:
gbateson 2008-01-21 08:09:31 +00:00
parent 85a0a69fa4
commit 0c78faaa1c

View file

@ -259,7 +259,7 @@ class hotpot_report extends hotpot_default_report {
$br = $is_html ? '<br />' : "\n"; $br = $is_html ? '<br />' : "\n";
$space = $is_html ? '&nbsp;' : ""; $space = $is_html ? '&nbsp;' : "";
$no_value = $is_html ? '--' : ""; $no_value = $is_html ? '--' : "";
$help_button = $is_html ? helpbutton("discrimination", "", "quiz", true, false, "", true) : ""; $help_button = $is_html ? helpbutton("discrimination", get_string('discrimination', 'quiz'), "quiz", true, false, "", true) : "";
// table properties // table properties
unset($table); unset($table);
$table->border = 1; $table->border = 1;