Update joomla.php

Fixes tracker issue: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32775&start=0
Merge pull request #2571 from andykirk/patch-1

Update plugins/user/joomla/joomla.php