Summary

Submitted by Christoffer on github:
https://github.com/joomla/joomla-cms/pull/501

"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."

Patch/Diff:
https://github.com/joomla/joomla-cms/pull/501.diff
Opened On:
6 Apr 2013, 16:12 by Nick Savov
Closed On:
26 Apr 2013, 17:36
Status:
Fixed in SVN/GitHub

Filed Under

  • Administration
  • First
  • No Platform Implications
  • Second

Responses

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

Good addition to run a check,

PR: https://github.com/joomla/joomla-cms/pull/501
Posted on 22 Apr 2013, 13:48 by Tobias Zulauf
@test

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!