Fix issue under PHP 5.3

Should resolve #173
Another PHP5.3 regression
Merge pull request #192 from geekwright/formfix53

Fix issue under PHP 5.3