# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: moodle/grade/edit/settings/form.php
--- moodle/grade/edit/settings/form.php Base (1.15)
+++ moodle/grade/edit/settings/form.php Locally Modified (Based On 1.15)
@@ -39,7 +39,7 @@
         $mform->addElement('header', 'general', get_string('generalsettings', 'grades'));
         if ($can_view_admin_links) {
             $link = '<a href="' . $CFG->wwwroot.'/'.$CFG->admin.'/settings.php?section=gradessettings">' . $strchangedefaults . '</a>';
-            $mform->addElement('static', 'generalsettingslink', $link);
+            $mform->addElement('static', 'generalsettingslink', null, $link);
         }
         $options = array(-1                                      => get_string('default', 'grades'),
                          GRADE_REPORT_AGGREGATION_POSITION_FIRST => get_string('positionfirst', 'grades'),
@@ -58,7 +58,7 @@
         $mform->addElement('header', 'grade_item_settings', get_string('gradeitemsettings', 'grades'));
         if ($can_view_admin_links) {
             $link = '<a href="' . $CFG->wwwroot.'/'.$CFG->admin.'/settings.php?section=gradeitemsettings">' . $strchangedefaults . '</a>';
-            $mform->addElement('static', 'gradeitemsettingslink', $link);
+            $mform->addElement('static', 'gradeitemsettingslink', null, $link);
         }
 
         $options = array(-1                            => get_string('default', 'grades'),
@@ -101,7 +101,7 @@
                         $mform->addElement('header', 'grade_'.$type.$plugin, get_string('modulename', 'grade'.$type.'_'.$plugin, NULL));
                         if ($can_view_admin_links) {
                             $link = '<a href="' . $CFG->wwwroot.'/'.$CFG->admin.'/settings.php?section=gradereport' . $plugin . '">' . $strchangedefaults . '</a>';
-                            $mform->addElement('static', 'gradeitemsettingslink', $link);
+                            $mform->addElement('static', 'gradeitemsettingslink', null, $link);
                         }
                         $functionname($mform);
                     }
