crodas/Haanga — pull request #12 by waldipol (2011-12-01 21:08:09+00:00)
Title: {% for ... %} generates PHP warning when iterating over empty array

In template, before {% for item in items %} I had to check
if items had at least one element, if I didn't I got "Invalid argument supplied for foreach() in".

Hope this will be useful and make template code a little simpler.