]> git.mjollnir.org Git - moodle.git/commitdiff
fix Error in call to helpbutton function: at least one of $title and $linktext is...
authorgbateson <gbateson>
Mon, 21 Jan 2008 08:09:31 +0000 (08:09 +0000)
committergbateson <gbateson>
Mon, 21 Jan 2008 08:09:31 +0000 (08:09 +0000)
mod/hotpot/report/fullstat/report.php

index 371c7db495a07ba0d6eb6c8634de59f5ad0932a4..d82fbb343b83b1bf7b72e4e4349b22d41130a960 100644 (file)
@@ -259,7 +259,7 @@ class hotpot_report extends hotpot_default_report {
                        $br = $is_html ? '<br />' : "\n";
                        $space = $is_html ? '&nbsp;' : "";
                        $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;