[#30464] Fixing "Notice: Undefined variable"

Fixing issue [#30464] http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemBrowse&tracker_id=8103