Fixed an issue where the custom fields weren't showng in the edit view

Resolves http://bugs.web2project.net/view.php?id=1639