[#31138] Correct the Bug after #31034

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