civicrm/civicrm-core — pull request #1960 by pratik-joshi (2013-11-12 13:51:28+00:00)
Title: crm-13730 

was not able to reproduce the issue mentioned in description, but was able to replicate bug mentioned in http://issues.civicrm.org/jira/browse/CRM-13730?focusedCommentId=54176 .

the proper array formation was not taking place, this array ultimately was being used to compute the default values, which resulted in the issue mentioned in comment.

the improper array formation is due to the array_merge_recursive function's feature : If, however, the arrays have the same numeric key, the later value will not overwrite the original value, but will be appended. . Source to it : http://us2.php.net/array_merge_recursive .

The alternative function is array_replace_recursive .