diff --git a/modules/monitoring/library/Monitoring/Plugin/Perfdata.php b/modules/monitoring/library/Monitoring/Plugin/Perfdata.php index cdafa534c..b1c71cb72 100644 --- a/modules/monitoring/library/Monitoring/Plugin/Perfdata.php +++ b/modules/monitoring/library/Monitoring/Plugin/Perfdata.php @@ -434,7 +434,7 @@ class Perfdata public function formatLabel($html = false) { return sprintf( - $html ? t('%s %s (%s%%)') : t('%s %s (%s%%)'), + $html ? '%s %s (%s%%)' : '%s %s (%s%%)', htmlspecialchars($this->getLabel()), $this->format($this->value), number_format($this->getPercentage(), 2)