From e93afd657f639c7d35abf8dc81e55cf7a3fab756 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Sun, 15 Sep 2013 18:28:22 -0700 Subject: [PATCH] CRM-13341 - Fix typos in subscribe message. ---------------------------------------- * CRM-13341: group subscription emails fail for multiple groups http://issues.civicrm.org/jira/browse/CRM-13341 --- CRM/Mailing/Event/BAO/Subscribe.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Mailing/Event/BAO/Subscribe.php b/CRM/Mailing/Event/BAO/Subscribe.php index 367e20a8f5..7fcd2bd51d 100644 --- a/CRM/Mailing/Event/BAO/Subscribe.php +++ b/CRM/Mailing/Event/BAO/Subscribe.php @@ -401,12 +401,12 @@ SELECT civicrm_email.id as email_id } } if ($success) { - $groupTitle = implode(',', $groupAdded); - CRM_Utils_System::setUFMessage(ts('Your subscription request has been submitted for group %1. Check your inbox shortly for the confirmation email(s). If you do not see a confirmation email, please check your spam/junk mail folder.', array(1 => $groupTitle))); + $groupTitle = implode(', ', $groupAdded); + CRM_Utils_System::setUFMessage(ts('Your subscription request has been submitted for %1. Check your inbox shortly for the confirmation email(s). If you do not see a confirmation email, please check your spam/junk mail folder.', array(1 => $groupTitle))); } elseif ($success === FALSE) { $groupTitle = implode(',', $groupFailed); - CRM_Utils_System::setUFMessage(ts('We had a problem processing your subscription request for group %1. You have tried to subscribe to a private group and/or we encountered a database error. Please contact the site administrator.', array(1 => $groupTitle))); + CRM_Utils_System::setUFMessage(ts('We had a problem processing your subscription request for %1. You have tried to subscribe to a private group and/or we encountered a database error. Please contact the site administrator.', array(1 => $groupTitle))); } } //end of function -- 2.25.1