content.blueprintssections.php not testing for $sections array
A for , submitted by ashooner on 29 October 2009
Announcement
Symphony's issue tracker has been moved to Github.
Issues are displayed here for reference only and cannot be created or edited.
Browse
Closed#160: content.blueprintssections.php not testing for $sections array
Thanks ashooner, I’ll fix that up.
If there are no sections the navigation group suggestion list will not be shown. Thanks to ‘ashooner’ for spotting the problem. Also prevented duplicate items in list from showing. Closed by 64a9244b908212f6a8efd34f80f5770096cf401f
This issue is closed.
content.blueprintssections.php’s __viewNew() function appears to not test if $sections is an array (~line 140) so when the first section view is attempted, it fails since there are no navigation groups. I’ve tried inverting the conditional from line 34 of the same file and applying it to the $ul, so the tag ul isn’t created if there are none. This seems to work (section is succefully created).
Sorry for not doing a pull request, still a little bashful with git.