Fixing problem in com_messages with double brackets

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