Skip to content

Commit 8455fd8

Browse files
authored
Merge pull request #171 from mjamroz/patch-1
if last name is anonymous - replace `lastname` variable from response
2 parents 3a134d9 + e6dd36c commit 8455fd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controllers/front/ListComments.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public function display()
7171

7272
if ($isLastNameAnonymous) {
7373
$productComment['customer_name'] = $this->anonymizeName($productComment['customer_name']);
74+
$productComment['lastname'] = '...';
7475
}
7576

7677
$productComment['customer_name'] = htmlentities($productComment['customer_name']);

0 commit comments

Comments
 (0)