symfony/symfony — pull request #4826 by ChrisTickner (2012-07-10 06:51:28+00:00)
Title: [Form] FormBuilder Bug Fix: remove() was not properly removing children

FormBuilder initially sets unresolved children as NULL, until resolved.
If FormBuilder::remove() is called before that child is resolved, the
if statement turns false, because isset(null) is false, when it should
be true. Instead, we should check to see if the key exists, and if so,
process and unset it.

Closes #4803