fixes fatal error in line 2879
Merge pull request #1 from darxmac/3.0-formhelperbugs

fixes fatal error in line 2879