diff --git a/src/library/Box/TwigExtensions.php b/src/library/Box/TwigExtensions.php index 7f55baf26..049325206 100644 --- a/src/library/Box/TwigExtensions.php +++ b/src/library/Box/TwigExtensions.php @@ -329,10 +329,10 @@ function twig_truncate_filter(Twig\Environment $env, $value, $length = 30, $pres /** * BoxBilling markdown. + * @deprecated */ function twig_bbmd_filter(Twig\Environment $env, $value) { - $value = twig_markdown_filter($env, $value); - - return $value; + error_log('Usage for deprected bbmd filter, please use the markdown filter instead for twig templates.'); + return twig_markdown_filter($env, $value); } diff --git a/src/modules/Custompages/html_client/mod_custompages_content.html.twig b/src/modules/Custompages/html_client/mod_custompages_content.html.twig index 86aaac152..7dbaf7725 100644 --- a/src/modules/Custompages/html_client/mod_custompages_content.html.twig +++ b/src/modules/Custompages/html_client/mod_custompages_content.html.twig @@ -19,7 +19,7 @@
{{ 'Automatic updater is a tool to update FOSSBilling to latest version in one click. Works on these hosting environments where PHP has permissions to overwrite files uploaded via FTP.'|trans }}
- {{ admin.system_release_notes|bbmd }} + {{ admin.system_release_notes|markdown }}