added missing var 'timestamp' for template render #18

Open
wants to merge 1 commit into
from

4 participants

@fscz

No description provided.

@evanmiller

Please exclude the changes from boss.config and I will merge this in.

@fscz
@evanmiller

The error is a new one recently introduced into ErlyDTL; it's possible that one machine is running an older ErlyDTL.

In general you should surround possibly-undefined variables in an if-statement like:

{% if orig_lang %}{{ orig_lang }}{% endif %}

Or use the "default_if_none" filter:

{{ orig_lang|default_if_none:"" }}

@zkessin zkessin was assigned Jan 6, 2014
@aherranz

Already fixed, could be discarded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment