From: Web Access Date: Fri, 15 May 2015 05:35:14 +0000 (+0530) Subject: Fix for CRM-16475 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e7af4e090a6e8800d85d45eede9d94bcab79dd84;p=civicrm-core.git Fix for CRM-16475 --- diff --git a/CRM/UF/Form/Field.php b/CRM/UF/Form/Field.php index b4ab34c0ee..cd4e8d25f4 100644 --- a/CRM/UF/Form/Field.php +++ b/CRM/UF/Form/Field.php @@ -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)); } } }