From 15cf5a9724ceeb8ee8c5cdae4334003a96f76114 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 21 Aug 2015 10:31:21 +0200 Subject: [PATCH] monitoring: Fix submit label of the DeleteCommentsCommandForm --- .../forms/Command/Object/DeleteCommentsCommandForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } /**