'loclize' -> 'localize'
authorAlexy Mikhailichenko <alexymik@users.noreply.github.com>
Wed, 26 Feb 2020 17:43:12 +0000 (09:43 -0800)
committerGitHub <noreply@github.com>
Wed, 26 Feb 2020 17:43:12 +0000 (09:43 -0800)
CRM/Contact/Form/Edit/CommunicationPreferences.php

index e05a8bf658b190be47350e58cf98e7958dc304bc..007522afbf5721a6570bddc6bf033f4d389b1f79 100644 (file)
@@ -51,7 +51,7 @@ class CRM_Contact_Form_Edit_CommunicationPreferences {
     $form->addGroup($privacy, 'privacy', ts('Privacy'), '&nbsp;<br/>');
 
     // preferred communication method
-    $comm = CRM_Core_PseudoConstant::get('CRM_Contact_DAO_Contact', 'preferred_communication_method', ['loclize' => TRUE]);
+    $comm = CRM_Core_PseudoConstant::get('CRM_Contact_DAO_Contact', 'preferred_communication_method', ['localize' => TRUE]);
     foreach ($comm as $value => $title) {
       $commPreff[] = $form->createElement('advcheckbox', $value, NULL, $title);
     }