happyninjas/lex — Issue #1: Missing variable error
Author: bstrahija
Created: 2011-11-07 22:14:03+00:00
State: open

When trying to parse this template:

{{ if entry }}

{{ entry.title }}

{{ entry.body }}
{{ else }}

Entry not found

{{ endif }}

Everything works fine, but if the variable "entry" doesn't exist, I get the following error:
Use of undefined constant entry - assumed 'entry'