diff --git a/src/Legacy/Template.php b/src/Legacy/Template.php index c5acceeeb..957015d18 100644 --- a/src/Legacy/Template.php +++ b/src/Legacy/Template.php @@ -767,7 +767,7 @@ class Template } // This will handle the remaining root-level varrefs // Handle L_ language variables specifically - show plain text when not found - $code = preg_replace('#\{(L_([a-z0-9\-_]+?))\}#i', '', $code); + $code = preg_replace('#\{(L_([a-z0-9\-_]+?))\}#i', '', $code); // Handle PHP variables $code = preg_replace('#\{(\$[a-z_][a-z0-9_$\->\'\"\.\[\]]*?)\}#i', '', $code); // Handle constants