From bd1fbe440ede3f02c17aaa6bae0cf6dd2f4a9754 Mon Sep 17 00:00:00 2001 From: Michal Jamroz Date: Wed, 21 Jun 2023 11:52:15 +0200 Subject: [PATCH 1/2] Update ListComments.php --- controllers/front/ListComments.php | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/front/ListComments.php b/controllers/front/ListComments.php index 888650b7..5fbc11ae 100644 --- a/controllers/front/ListComments.php +++ b/controllers/front/ListComments.php @@ -71,6 +71,7 @@ public function display() if ($isLastNameAnonymous) { $productComment['customer_name'] = $this->anonymizeName($productComment['customer_name']); + $productComment['lastname']= '...'; } $productComment['customer_name'] = htmlentities($productComment['customer_name']); From e6dd36c932f7e7f07edf5405a3f740432218ce0a Mon Sep 17 00:00:00 2001 From: Thomas Nabord Date: Mon, 3 Nov 2025 11:32:57 +0000 Subject: [PATCH 2/2] Run CS Fixer --- controllers/front/ListComments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/front/ListComments.php b/controllers/front/ListComments.php index 5fbc11ae..b5c87bab 100644 --- a/controllers/front/ListComments.php +++ b/controllers/front/ListComments.php @@ -71,7 +71,7 @@ public function display() if ($isLastNameAnonymous) { $productComment['customer_name'] = $this->anonymizeName($productComment['customer_name']); - $productComment['lastname']= '...'; + $productComment['lastname'] = '...'; } $productComment['customer_name'] = htmlentities($productComment['customer_name']);