Wrong compilation of "is not empty"

When I test something like this

{{ if object.attribute is not empty }}

It compiles into: ```php <?php if ($destaque->fotos == !$empty) { ?> ```

I'm using Phalcon 1.1.0

You could use ```php {{ if object.attribute is defined }} ``` instead.



84.5k

or:

{% if not (object.attribute is empty) %}

Nice! I didn't see the "defined" in the documentation of version 1.1.0 Thanks folks!