From e49ada0fb2e916d5c1672596eee3997213caef24 Mon Sep 17 00:00:00 2001 From: Uma <uma.s@vtiger.com> Date: Mon, 9 Dec 2019 16:43:08 +0530 Subject: [PATCH] Fixes #1196 Smarty debuggig variable declaration --- libraries/Smarty/libs/debug.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/Smarty/libs/debug.tpl b/libraries/Smarty/libs/debug.tpl index 12eef0ffd..7ba49116d 100644 --- a/libraries/Smarty/libs/debug.tpl +++ b/libraries/Smarty/libs/debug.tpl @@ -127,7 +127,7 @@ td { {/capture} <script type="text/javascript"> {$id = $template_name|default:''|md5} - _smarty_console = window.open("","console{$id}","width=680,height=600,resizable,scrollbars=yes"); + var _smarty_console = window.open("","console{$id}","width=680,height=600,resizable,scrollbars=yes"); _smarty_console.document.write("{$debug_output|escape:'javascript' nofilter}"); _smarty_console.document.close(); </script> -- GitLab