Skip to content

Commit

Permalink
Update controllers/front/ListComments.php
Browse files Browse the repository at this point in the history
Co-authored-by: Simon G. <49909275+SimonGrn@users.noreply.github.com>
  • Loading branch information
PierreRambaud and SimonGrn authored Dec 18, 2020
1 parent bbbd3cf commit 1a65079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/front/ListComments.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function display()
$productComment['content'] = htmlentities($productComment['content']);
$productComment['date_add'] = $dateFormatter->format($dateAdd);

if ($isLastNameAnynmous && isset($productComment['lastname'])) {
if ($isLastNameAnonymous && isset($productComment['lastname'])) {
$productComment['lastname'] = substr($productComment['lastname'], 0, 1) . '.';
}

Expand Down

0 comments on commit 1a65079

Please sign in to comment.