This commit is contained in:
Huong Nguyen
2024-02-01 10:43:37 +07:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -652,7 +652,7 @@ abstract class handler {
}
$data->instance_form_definition($mform);
$field = $data->get_field()->to_record();
if (strlen($field->description)) {
if (strlen((string)$field->description)) {
// Add field description.
$context = $this->get_configuration_context();
$value = file_rewrite_pluginfile_urls($field->description, 'pluginfile.php',