]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-13146 - prevent debug message about missing helpbutton title
authorpoltawski <poltawski>
Thu, 24 Jan 2008 11:00:14 +0000 (11:00 +0000)
committerpoltawski <poltawski>
Thu, 24 Jan 2008 11:00:14 +0000 (11:00 +0000)
merged from MOODLE_19_STABLE

mod/data/lib.php

index 0c5388b5875c230ff43cd0d2b9c2577967c76184..7d449bd9cbcab6aef09fb6861cd006d4ce9537b1 100755 (executable)
@@ -1966,7 +1966,7 @@ class PresetImporter {
 
         if (!empty($currentfields) && !empty($newfields)) {
             echo "<h3>$strfieldmappings ";
-            helpbutton('fieldmappings', '', 'data');
+            helpbutton('fieldmappings', $strfieldmappings, 'data');
             echo '</h3><table>';
 
             foreach ($newfields as $nid => $newfield) {