From: gbateson Date: Mon, 21 Jan 2008 08:09:31 +0000 (+0000) Subject: fix Error in call to helpbutton function: at least one of $title and $linktext is... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0c78faaa1ccd94a1d382bbae2b145665ef4bd786;p=moodle.git fix Error in call to helpbutton function: at least one of $title and $linktext is required --- diff --git a/mod/hotpot/report/fullstat/report.php b/mod/hotpot/report/fullstat/report.php index 371c7db495..d82fbb343b 100644 --- a/mod/hotpot/report/fullstat/report.php +++ b/mod/hotpot/report/fullstat/report.php @@ -259,7 +259,7 @@ class hotpot_report extends hotpot_default_report { $br = $is_html ? '
' : "\n"; $space = $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 unset($table); $table->border = 1;