[#32675] Missing check in JApplicationSite causes a fatal error

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