diff --git a/application/views/scripts/config/module-configuration-error.phtml b/application/views/scripts/config/module-configuration-error.phtml
index 85fb128f5..9d8980e03 100644
--- a/application/views/scripts/config/module-configuration-error.phtml
+++ b/application/views/scripts/config/module-configuration-error.phtml
@@ -6,7 +6,7 @@
= $this->tabs->render($this); ?>
While operation the following error occurred:
diff --git a/modules/monitoring/application/forms/Config/BackendConfigForm.php b/modules/monitoring/application/forms/Config/BackendConfigForm.php
index 5ed42e1db..05bc95e5b 100644
--- a/modules/monitoring/application/forms/Config/BackendConfigForm.php
+++ b/modules/monitoring/application/forms/Config/BackendConfigForm.php
@@ -227,7 +227,7 @@ class BackendConfigForm extends ConfigForm
'autosubmit' => true
)
);
- $resourceName = isset($formData['resource']) ? $formData['resource'] : $this->getValue('resource');
+ $resourceName = $this->getView()->escape($formData['resource'] ?? $this->getValue('resource'));
$this->addElement(
'note',
'resource_note',