mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
Merge pull request #4674 from turbo124/v5-develop
Fix for trailing $ in default templates
This commit is contained in:
commit
49a7fa43e2
@ -1 +1 @@
|
||||
5.0.45
|
||||
5.0.46
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ return [
|
||||
'require_https' => env('REQUIRE_HTTPS', true),
|
||||
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
||||
'app_domain' => env('APP_DOMAIN', ''),
|
||||
'app_version' => '5.0.45',
|
||||
'app_version' => '5.0.46',
|
||||
'minimum_client_version' => '5.0.16',
|
||||
'terms_version' => '1.0.1',
|
||||
'api_secret' => env('API_SECRET', false),
|
||||
|
Loading…
Reference in New Issue
Block a user