Fix for CRM-16475
authorWeb Access <rohan.katkar@webaccessglobal.com>
Fri, 15 May 2015 05:35:14 +0000 (11:05 +0530)
committerWeb Access <rohan.katkar@webaccessglobal.com>
Fri, 15 May 2015 05:35:14 +0000 (11:05 +0530)
CRM/UF/Form/Field.php

index b4ab34c0ee3f31a7794d05ba4b46ff55e5b24045..cd4e8d25f4d89cae83c7a77eef61e4a94be50cb5 100644 (file)
@@ -750,7 +750,7 @@ class CRM_UF_Form_Field extends CRM_Core_Form {
         }
       }
       if ($primaryOfSameTypeFound) {
-        $errors['field_name'] = ts('You have already added a primary location field of this type: %1', $primaryOfSameTypeFound);
+        $errors['field_name'] = ts('You have already added a primary location field of this type: %1', array(1 => $primaryOfSameTypeFound));
       }
     }
   }