fix object undef in form error helper
Merge pull request #803 from toadkicker/develop

fix object undef in form error helper