CRM-16916 fix validation when formatting field present
authorBrian Shaughnessy <brian@lcdservices.biz>
Sat, 25 Jul 2015 23:28:49 +0000 (19:28 -0400)
committerBrian Shaughnessy <brian@lcdservices.biz>
Sat, 25 Jul 2015 23:28:49 +0000 (19:28 -0400)
CRM/UF/Form/Field.php

index cd4e8d25f4d89cae83c7a77eef61e4a94be50cb5..a41f06df5985733eaf07cb49ba35e8a46a1964c7 100644 (file)
@@ -638,9 +638,10 @@ class CRM_UF_Form_Field extends CRM_Core_Form {
             'Individual',
             'Contact',
             'Activity',
+            'Formatting',
           ))
         ) {
-          $errors['field_name'] = ts('Cannot add or update profile field "%1" with combination of Household or Organization or any subtypes of Household or Organisation.', array(1 => $fieldType));
+          $errors['field_name'] = ts('Cannot add or update profile field "%1" with combination of Household or Organization or any subtypes of Household or Organization.', array(1 => $fieldType));
           break;
         }
       }