Skip to content

Commit

Permalink
Fixed issue #16875: strong tag displayed in First and Last name colum…
Browse files Browse the repository at this point in the history
…n of Survey responses page

Dev: moved to raw : tag must be removed at same time
  • Loading branch information
Shnoulle committed Dec 4, 2020
1 parent c1e46c8 commit 2da9daa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/models/SurveyDynamic.php
Expand Up @@ -581,7 +581,7 @@ public function getFirstNameForGrid()
if (!empty($tokens)){
$tokens->decrypt();
}
return '<strong>'.$tokens->firstname.'</strong>';
return $tokens->firstname;
}

}
Expand All @@ -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 '<strong>'.$tokens->lastname.'</strong>';
return $tokens->lastname;
}
}

Expand Down

0 comments on commit 2da9daa

Please sign in to comment.