From 1a65079d86239a5f41cf9a1f24437bb8e28cac03 Mon Sep 17 00:00:00 2001 From: GoT Date: Fri, 18 Dec 2020 11:18:18 +0100 Subject: [PATCH] Update controllers/front/ListComments.php Co-authored-by: Simon G. <49909275+SimonGrn@users.noreply.github.com> --- 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 09168a1c..feeca5f8 100644 --- a/controllers/front/ListComments.php +++ b/controllers/front/ListComments.php @@ -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) . '.'; }