Fixed call by reference in CRM_Utils_System_Joomla