Fix syntax error. Refs #6679.
Merge branch 'wzhou/6679_fixerror' into develop