title: smarty Error: Syntax Error in template
body: <p>i have a session which is set thrugh php but when i try to get data using smarty i get following error</p>
  
  <pre><code>Error: Syntax Error in template "d:\server\theme\menu_inc.tpl" on line 10 "{if $smarty.session.user-permissions-ses.t_mgt == 1}" - Unexpected "."
  </code></pre>
  
  <p>smarty template code.</p>
  
  <pre><code>{if $smarty.session.user-permissions-ses.t_mgt == 1}
      information here
  {/if}
  </code></pre>
  
  <p>I can't seem to know what might be causing this error.</p>