Refactor #9760 Style issue

http://tracker.modx.com/issues/9760