Skip to content
Snippets Groups Projects
Commit 513a9a13 authored by lobo's avatar lobo
Browse files

CRM-12745

----------------------------------------
* CRM-12745: AlterPreferences.php has Bad Characters
  http://issues.civicrm.org/jira/browse/CRM-12745
parent b9760240
No related branches found
No related tags found
No related merge requests found
<?php
/*
+--------------------------------------------------------------------+
......@@ -125,7 +124,7 @@ class CRM_Contact_Form_Task_AlterPreferences extends CRM_Contact_Form_Task {
$label = $privacyOptions[$privacy_key];
$status[] = $privacyValueNew ? ts("Added '%1'", array(1 => $label)) : ts("Removed '%1'", array(1 => $label));
}
$status = '<ul><li>' . implode('</li><li>', $status) . '</li></ul>';
if ($count > 1) {
$title = ts('%1 Contacts Updated', array(1 => $count));
......@@ -134,7 +133,7 @@ class CRM_Contact_Form_Task_AlterPreferences extends CRM_Contact_Form_Task {
$name = CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Contact', $contact_id, 'display_name');
$title = ts('%1 Updated', array(1 => $name));
}
CRM_Core_Session::setStatus($status, $title, 'success');
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment