diff --git a/modules/monitoring/application/forms/Command/Object/DeleteCommentsCommandForm.php b/modules/monitoring/application/forms/Command/Object/DeleteCommentsCommandForm.php index f7a5417c2..f91e6506a 100644 --- a/modules/monitoring/application/forms/Command/Object/DeleteCommentsCommandForm.php +++ b/modules/monitoring/application/forms/Command/Object/DeleteCommentsCommandForm.php @@ -47,7 +47,7 @@ class DeleteCommentsCommandForm extends CommandForm */ public function getSubmitLabel() { - return $this->translatePlural('Remove', 'Remove All', count($this->downtimes)); + return $this->translatePlural('Remove', 'Remove All', count($this->comments)); } /**