From 2da9daa1c409695a1605400d06684b19b5083941 Mon Sep 17 00:00:00 2001 From: Denis Chenu Date: Fri, 4 Dec 2020 08:25:50 +0100 Subject: [PATCH] Fixed issue #16875: strong tag displayed in First and Last name column of Survey responses page Dev: moved to raw : tag must be removed at same time --- application/models/SurveyDynamic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/models/SurveyDynamic.php b/application/models/SurveyDynamic.php index fd00ce92dd8..d610859528f 100644 --- a/application/models/SurveyDynamic.php +++ b/application/models/SurveyDynamic.php @@ -581,7 +581,7 @@ public function getFirstNameForGrid() if (!empty($tokens)){ $tokens->decrypt(); } - return ''.$tokens->firstname.''; + return $tokens->firstname; } } @@ -594,7 +594,7 @@ public function getLastNameForGrid() // Last name is already decrypted in getFirstNameForGrid method, if we do it again it would try to decrypt it again ( and fail ) $tokens = $this->tokens; if (is_object($tokens)) { - return ''.$tokens->lastname.''; + return $tokens->lastname; } }