From 0c78faaa1ccd94a1d382bbae2b145665ef4bd786 Mon Sep 17 00:00:00 2001 From: gbateson Date: Mon, 21 Jan 2008 08:09:31 +0000 Subject: [PATCH] fix Error in call to helpbutton function: at least one of $title and $linktext is required --- mod/hotpot/report/fullstat/report.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5