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

FormHelper, fixes fatal error in line 2879