public $active;
public $bcc_group_id;
public $test_class;
-
-
-
+
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
bcc_group_id = {$cgm}.group_id
) AS bcc_group_member_count
");
+
if (!empty($_REQUEST['_hide_system_emails'])) {
$this->whereAddIn("!{$this->tableName()}.name", array('EVENT_ERRORS_REPORT'), 'string');
$i->ontable = $this->tableName();
$i->find();
while ($i->fetch()){
- $i->beforeDelete();
+ $i->beforeDelete(array(), $roo);
$i->delete();
}
}
$html->item(0)->appendChild($element);
}
- $this->plaintext = str_replace("{unsubscribe_link}", $unsubscribe, $this->plaintext);
+ $this->plaintext = str_replace("{unsubscribe_link}", $unsubscribe, empty($this->plaintext) ? '' : $this->plaintext);
}
foreach($this->to_group()->members() as $m) {
$contents['rcpts'][] = $m->email;
}
- var_dump($contents['rcpts']);
+ //var_dump($contents['rcpts']);
}
//subject replacement