| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
foreach (array(
'name',
'group_id',
- 'is_sms'
+ 'is_sms',
) as $n) {
if (!empty($values[$n])) {
$params[$n] = $values[$n];
// delete previous includes/excludes, if mailing already existed
foreach (array(
'groups',
- 'mailings'
+ 'mailings',
) as $entity) {
$mg = new CRM_Mailing_DAO_MailingGroup();
$mg->mailing_id = $ids['mailing_id'];
*
* @return array
* list of errors to be posted back to the form
- * @static
*/
public static function formRule($fields) {
$errors = array();
return empty($errors) ? TRUE : $errors;
}
+
}