diff --git a/core/app/Subs-Template.php b/core/app/Subs-Template.php index 93dccefd..e3fc941b 100644 --- a/core/app/Subs-Template.php +++ b/core/app/Subs-Template.php @@ -1092,7 +1092,7 @@ function db_debug_junk() */ function template_include($filename, $once = false) { - global $settings; + global $settings, $txt; static $templates = array(); // We want to be able to figure out any errors...