Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.6
-
Fix Version/s: 4.3.0
-
Component/s: Internationalisation, Joomla Integration
-
Labels:None
Description
To reproduce:
1) Create a contact record with an email you control
2) Hit the Actions button, then 'Create User Account'
3) Fill out the fields and hit 'Add'
4) Check your email You will find one with the subject line: COM_USERS_EMAIL_ACCOUNT_DETAILS and the body of: COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY Both of which should have been replaced from the com_user language file.
On the upside the fix is easy:
Fix:
In File: /administrator/components/com_civicrm/civicrm/CRM/Utils/System/Joomla.php
Replace
Line: 87 $lang->load('com_users');
With:
$extension = 'com_users';
$base_dir = JPATH_SITE;
$lang->load($extension, $base_dir);