fixes #5472
Merge pull request #5535 from dotCMS/issue-5472-rating-macro-is-broken

fixes #5472