joomla/joomla-cms — pull request #3737 by izharaazmi (2014-06-07 21:26:51+00:00)
Title: Fixed JForm::bind for nested JObject argument

JForm::bind method was relying on getProperties() which returned only the attributes of the given object. However in case one of these attributes happens to be a JObject instance itself, then JForm::bindLevel would fail there.
In particular model's getItem function tends to return a nested JObject always.

JArrayHelper call would take care of JObject to Array conversion recursively.