diff --git a/CRM/Contact/Task.php b/CRM/Contact/Task.php index dbf2f203c71..edc579a5c18 100644 --- a/CRM/Contact/Task.php +++ b/CRM/Contact/Task.php @@ -160,7 +160,7 @@ public static function tasks() { } if (CRM_Contact_BAO_ContactType::isActive('Individual')) { - $label = CRM_Contact_BAO_ContactType::getLabel('individual'); + $label = CRM_Contact_BAO_ContactType::getLabel('Individual'); self::$_tasks[self::INDIVIDUAL_CONTACTS] = array( 'title' => ts('Add relationship - to %1', array(1 => $label) @@ -170,7 +170,7 @@ public static function tasks() { } if (CRM_Contact_BAO_ContactType::isActive('Household')) { - $label = CRM_Contact_BAO_ContactType::getLabel('household'); + $label = CRM_Contact_BAO_ContactType::getLabel('Household'); self::$_tasks[self::HOUSEHOLD_CONTACTS] = array( 'title' => ts('Add relationship - to %1', array(1 => $label) @@ -180,7 +180,7 @@ public static function tasks() { } if (CRM_Contact_BAO_ContactType::isActive('Organization')) { - $label = CRM_Contact_BAO_ContactType::getLabel('organization'); + $label = CRM_Contact_BAO_ContactType::getLabel('Organization'); self::$_tasks[self::ORGANIZATION_CONTACTS] = array( 'title' => ts('Add relationship - to %1', array(1 => $label)