joomla/joomla-platform — pull request #1793 by sybrek (2013-01-09 06:48:03+00:00)
Title: Fixing JForm behavior on load without replacing

We need to remove the new (but existing) field to avoid duplicates.
unset() seems not to work.

Test instruction: Try to add existing fields without replacing.