Fixes typo in getter and setter of form fields.

Updating PR 3306. See PR https://github.com/joomla/joomla-cms/pull/3306 for previous comment.