mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
Fix for trailing $ in default templates
This commit is contained in:
parent
bd5292f576
commit
e0c995a8b3
@ -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…
Reference in New Issue
Block a user