merged branch acasademont/patch-1 (PR #781)

Commits
-------

ee87848 Little typo
c31dd7b The empty test now also checks for empty arrays

Discussion
----------

The empty test now also checks for empty arrays

Little change in the docs to reflect that, as i had to check the source code to see if it worked
This commit is contained in:
Fabien Potencier
2012-07-20 14:41:38 +02:00
+1 -1
View File
@@ -5,7 +5,7 @@
.. code-block:: jinja
{# evaluates to true if the foo variable is null, false, or the empty string #}
{# evaluates to true if the foo variable is null, false, an empty array, or the empty string #}
{% if foo is empty %}
...
{% endif %}