From e1401974810d5b15fc9720609e7e5d1fce05581e Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Sat, 12 Mar 2011 01:39:58 +0100 Subject: [PATCH] MDL-26785 module edit - icon in heading missing sometimes --- course/modedit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/modedit.php b/course/modedit.php index 4b5c615df2b16..9722dbfbcf3d4 100644 --- a/course/modedit.php +++ b/course/modedit.php @@ -591,7 +591,7 @@ if (get_string_manager()->string_exists('modulename_help', $module->name)) { echo $OUTPUT->heading_with_help($pageheading, 'modulename', $module->name, 'icon'); } else { - echo $OUTPUT->heading_with_help($pageheading, '', '', 'icon'); + echo $OUTPUT->heading_with_help($pageheading, '', $module->name, 'icon'); } $mform->display();