Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion classes/admin/setting_button.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ public function output_html($data, $query = '') {
$element = $OUTPUT->render_from_template('auth_saml2/setting_configbutton', $context);
}

return format_admin_setting($this, $this->visiblename, $element, $this->description);
return $this->render('', $element, null, $this->visiblename, '', '', $this->description);
}
}
2 changes: 1 addition & 1 deletion classes/admin/setting_textonly.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ class setting_textonly extends heading {
* @return string Returns an HTML string
*/
public function output_html($data, $query = '') {
return format_admin_setting($this, $this->visiblename, '', $this->description);
return $this->render('', $this->visiblename, '', '', '', '', $this->description);
}
}
Loading