Merge remote-tracking branch 'rajgo94/mailingui-new' into master-abtest
[civicrm-core.git] / CRM / Mailing / BAO / Mailing.php
index 032541e95103b5e7e6880062030bca33baaf0544..dd8679f0515eb11a55f02d3ec9f990919c1be0ed 100644 (file)
@@ -1633,7 +1633,7 @@ ORDER BY   civicrm_email.is_bulkmail DESC
       $mg->search_args  = $params['search_args'];
       $mg->group_type   = 'Include';
       $mg->save();
-    }
+               }
 
     // check and attach and files as needed
     CRM_Core_BAO_File::processAttachment($params, 'civicrm_mailing', $mailing->id);
@@ -1658,7 +1658,8 @@ ORDER BY   civicrm_email.is_bulkmail DESC
       // Populate the recipients.
       $mailing->getRecipients($job->id, $mailing->id, NULL, NULL, TRUE, FALSE);
     }
-
+               //print_r($params);
+               //exit;
     return $mailing;
   }