pyrocms/pyrocms — Issue #1001: pages:is tag doesn't work
Author: abinadi
Created: 2011-12-13 16:29:15+00:00
State: open

When I use the pages:is tag, it fails with a notice.

Code:
```
{{ if {pages:is child="accounting" parent="administration"} }}
```

Notice:
> A PHP Error was encountered
>
> Severity: Notice
>
> Message: Undefined variable: child
>
> Filename: pages/plugin.php
>
> Line Number: 280

It doesn't display the notice if I use
```
{{ if {pages:is child="11" descendent="3"} }}
```
But it still doesn't work.