diff options
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_html.class b/it_html.class index 2bfc22d..5bbd038 100644 --- a/it_html.class +++ b/it_html.class @@ -179,7 +179,7 @@ function head($args = array()) else if (!headers_sent()) # prevent warnings when ED() in use header("Content-Type: " . $p['content-type']); - $js = $p['jsenv'] ? "var env = " . itjs::serialize($p['jsenv']) . ";\n" : ''; + $js = isset($p['jsenv']) ? "var env = " . itjs::serialize($p['jsenv']) . ";\n" : ''; if ($GLOBALS['it_html']->p['charset'] == "iso-8859-1") $js = it_html::latinize($js); |