Fix for trailing $ in default templates
This commit is contained in:
parent
bd5292f576
commit
e0c995a8b3
1 changed files with 3 additions and 0 deletions
|
|
@ -223,6 +223,9 @@ class EmailTemplateDefaults
|
|||
|
||||
private static function transformText($string)
|
||||
{
|
||||
//preformat the string, removing trailing colons.
|
||||
$string = rtrim($string, ":");
|
||||
|
||||
return str_replace(':', '$', ctrans('texts.'.$string));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue