bonny/WordPress-Simple-Fields — pull request #106 by outlast (2014-11-05 20:50:54+00:00)
Title: Prevent foreach error

When the specified field group did not exist, foreach ran into an error since field_group was not an array. A check has been added to prevent this so that it simply returns an empty array in this case.

You can reproduce this error in earlier versions by calling simple_fields_fieldgroup() with a non-existant field group id or slug.