From: Tim Otten Date: Tue, 12 Apr 2016 20:46:10 +0000 (-0700) Subject: CRM-18400 - CRM_Mailing_Info - Restore workflow permissions X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=de4bf1971da22181924bf26559c20e75f6977e86;p=civicrm-core.git CRM-18400 - CRM_Mailing_Info - Restore workflow permissions --- diff --git a/CRM/Mailing/Info.php b/CRM/Mailing/Info.php index a913567be0..8322fb9cd7 100644 --- a/CRM/Mailing/Info.php +++ b/CRM/Mailing/Info.php @@ -249,20 +249,14 @@ class CRM_Mailing_Info extends CRM_Core_Component_Info { ); if (self::workflowEnabled() || $getAllUnconditionally) { - $permissions[] = array( - 'create mailings' => array( - ts('create mailings'), - ), + $permissions['create mailings'] = array( + ts('create mailings'), ); - $permissions[] = array( - 'schedule mailings' => array( - ts('schedule mailings'), - ), + $permissions['schedule mailings'] = array( + ts('schedule mailings'), ); - $permissions[] = array( - 'approve mailings' => array( - ts('approve mailings'), - ), + $permissions['approve mailings'] = array( + ts('approve mailings'), ); }