fixes #5233 CommensAction replace getField with getFieldVar
Merge pull request #5271 from dotCMS/issue-5233-CommensAction-replace-getField-with-getFieldVar

fixes #5233 CommensAction replace getField with getFieldVar