Merge branch '4.5' into master
[civicrm-core.git] / CRM / Campaign / Form / Task / Release.php
index 661a84f0ff065ab37a69e03a92f298e0ba572749..bbb84df5e2f6493f9069479c185a7f722f99f8a2 100644 (file)
@@ -72,7 +72,10 @@ class CRM_Campaign_Form_Task_Release extends CRM_Campaign_Form_Task {
     if ($this->_interviewToRelease) {
       //user came from interview form.
       foreach (array(
-        'surveyId', 'contactIds', 'interviewerId') as $fld) {
+                 'surveyId',
+                 'contactIds',
+                 'interviewerId'
+               ) as $fld) {
         $this->{"_$fld"} = $this->get($fld);
       }
 
@@ -104,7 +107,8 @@ class CRM_Campaign_Form_Task_Release extends CRM_Campaign_Form_Task {
     $activityStatus = CRM_Core_PseudoConstant::activityStatus('name');
     $statusIds = array();
     foreach (array(
-      'Scheduled') as $name) {
+               'Scheduled'
+             ) as $name) {
       if ($statusId = array_search($name, $activityStatus)) {
         $statusIds[] = $statusId;
       }