mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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)
|
private static function transformText($string)
|
||||||
{
|
{
|
||||||
|
//preformat the string, removing trailing colons.
|
||||||
|
$string = rtrim($string, ":");
|
||||||
|
|
||||||
return str_replace(':', '$', ctrans('texts.'.$string));
|
return str_replace(':', '$', ctrans('texts.'.$string));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ return [
|
|||||||
'require_https' => env('REQUIRE_HTTPS', true),
|
'require_https' => env('REQUIRE_HTTPS', true),
|
||||||
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
||||||
'app_domain' => env('APP_DOMAIN', ''),
|
'app_domain' => env('APP_DOMAIN', ''),
|
||||||
'app_version' => '5.0.45',
|
'app_version' => '5.0.46',
|
||||||
'minimum_client_version' => '5.0.16',
|
'minimum_client_version' => '5.0.16',
|
||||||
'terms_version' => '1.0.1',
|
'terms_version' => '1.0.1',
|
||||||
'api_secret' => env('API_SECRET', false),
|
'api_secret' => env('API_SECRET', false),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user