Submitted by Christoffer on github:

"Dont know if you would call this a fix or not but checking if the $positions is an array removes the error displayed. I guess TemplatesHelper::getPositions doesnt allways return a proper result."

Opened On:
6 Apr 2013, 16:12 by Nick Savov
Closed On:
26 Apr 2013, 17:36
Fixed in SVN/GitHub

Filed Under

  • Administration
  • First
  • No Platform Implications
  • Second


Posted on 8 Apr 2013, 9:20 by David Hurley

Good addition to run a check,

Posted on 22 Apr 2013, 13:48 by Tobias Zulauf

with out any error

Thank You
Posted on 22 Apr 2013, 20:13 by Mark Dexter
This code style looks wrong to me. Shouldn't the foreach statement be in braces?
Posted on 23 Apr 2013, 1:21 by Jean-Marie Simonet
I can't reproduce that Notice any more here (PR is 6 months old), but nevertheless here is a patch corrected for code quality.
Posted on 26 Apr 2013, 16:39 by Elin Waring
This is really a new feature so leave for 3.1.2.
Posted on 26 Apr 2013, 17:23 by David Hurley
JM's patch applies proper code formatting.
Posted on 26 Apr 2013, 17:36 by Mark Dexter
Fixed in master. Thanks!