diff --git a/modules/monitoring/application/views/helpers/CheckSource.php b/modules/monitoring/application/views/helpers/CheckSource.php deleted file mode 100644 index 55efcde56..000000000 --- a/modules/monitoring/application/views/helpers/CheckSource.php +++ /dev/null @@ -1,14 +0,0 @@ -view->escape($source); - } -} diff --git a/modules/monitoring/application/views/scripts/show/components/checksource.phtml b/modules/monitoring/application/views/scripts/show/components/checksource.phtml index a0ea90ca5..921654eeb 100644 --- a/modules/monitoring/application/views/scripts/show/components/checksource.phtml +++ b/modules/monitoring/application/views/scripts/show/components/checksource.phtml @@ -1,7 +1,7 @@ -check_source) return ?> +check_source) || ! $object->check_source) return ?> translate('Check Source') ?> - checkSource($object->check_source) ?> + escape($object->check_source) ?>