symfony/symfony — pull request #5401 by haswalt (2012-08-31 10:29:37+00:00)
Title: Undefined index # when decoding array

When decoding an array previously encoded with XmlEncoder the error undefined index # is throw due to # never being set. First if for subnodes blocks setting of # on parent nodes.

This checks for # index being set, if not use contents of $value