diff --git a/modules/monitoring/library/Monitoring/Backend/MonitoringBackend.php b/modules/monitoring/library/Monitoring/Backend/MonitoringBackend.php index 697ff195c8..4de5f1d31b 100644 --- a/modules/monitoring/library/Monitoring/Backend/MonitoringBackend.php +++ b/modules/monitoring/library/Monitoring/Backend/MonitoringBackend.php @@ -73,7 +73,7 @@ public static function instance($name = null) ) ); - if (! class_exists($class)) { + if (!class_exists($class)) { throw new ConfigurationError( mt('monitoring', 'There is no "%s" monitoring backend'), $class @@ -256,7 +256,7 @@ protected function buildViewClassName($view) if (!class_exists($class)) { throw new ProgrammingError( 'DataView %s does not exist', - ucfirst($viewName) + ucfirst($view) ); } return $class;