[#31878] Follow-up after error pages update on #31724 (hardening against XSS)

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=31878