Skip to content
Snippets Groups Projects
Unverified Commit 51cd3c19 authored by colemanw's avatar colemanw Committed by GitHub
Browse files

Merge pull request #30851 from eileenmcnaughton/fold_micro

Stop passing unused variables not in the function signature
parents 2ab7e257 87e7c2ad
No related branches found
No related tags found
No related merge requests found
......@@ -275,7 +275,7 @@ class CRM_Contact_Form_Task_Label extends CRM_Contact_Form_Task {
$row['preferred_communication_method'] = implode(', ', $temp);
}
$row['id'] = $id;
$formatted = CRM_Utils_Address::formatMailingLabel($row, 'mailing_format', FALSE, TRUE, $tokenFields);
$formatted = CRM_Utils_Address::formatMailingLabel($row);
$rows[$id] = [$formatted];
}
......
......@@ -102,7 +102,7 @@ class CRM_Member_Form_Task_Label extends CRM_Member_Form_Task {
$row['preferred_communication_method'] = implode(', ', $temp);
}
$row['id'] = $id;
$formatted = CRM_Utils_Address::formatMailingLabel($row, 'mailing_format', FALSE, TRUE, $tokenFields);
$formatted = CRM_Utils_Address::formatMailingLabel($row);
$rows[$id] = [$formatted];
}
if ($isPerMembership) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment