diff --git a/public_html/templates/default/LSdefault.tpl b/public_html/templates/default/LSdefault.tpl index ff0d40ed..42466c32 100644 --- a/public_html/templates/default/LSdefault.tpl +++ b/public_html/templates/default/LSdefault.tpl @@ -1,6 +1,6 @@
{$LSjsConfig}
-
{if is_array($LSinfos) && !empty($LSinfos)} +
{if isset($LSinfos) && is_array($LSinfos) && !empty($LSinfos)} {/if}
-
{$LSerrors}
+
{if isset($LSerrors) && $LSerrors}{$LSerrors}{/if}
-
{if $LSdebug != ''}{$LSdebug}{/if}
+
{if isset($LSdebug) && $LSdebug}{$LSdebug}{/if}
diff --git a/public_html/templates/default/LSform.tpl b/public_html/templates/default/LSform.tpl index 1bb3d835..ba47e860 100644 --- a/public_html/templates/default/LSform.tpl +++ b/public_html/templates/default/LSform.tpl @@ -1,6 +1,6 @@
{$LSform_header} -{if $LSform_layout} +{if isset($LSform_layout) && $LSform_layout}
{/if} diff --git a/public_html/templates/default/top.tpl b/public_html/templates/default/top.tpl index 109c6ae8..ffd779e2 100644 --- a/public_html/templates/default/top.tpl +++ b/public_html/templates/default/top.tpl @@ -19,7 +19,7 @@ - {if $LSsession_subDn!=""} + {if isset($LSsession_subDn) && $LSsession_subDn!=""}