public $bcc_group_id;
public $test_class;
-
-
+
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
$cgm = DB_DataObject::Factory('core_group_member')->tableName();;
$this->selectAdd("
- (
- SELECT
- count(user_id)
- FROM
- {$cgm}
- WHERE
- to_group_id = {$cgm}.group_id
- )
- AS group_member_count,
+ (
+ SELECT
+ count(id)
+ FROM
+ {$cgm}
+ WHERE
+ to_group_id = {$cgm}.group_id
+ ) AS group_member_count,
- (
- SELECT
- count(user_id)
- FROM
- {$cgm}
- WHERE
- bcc_group_id = {$cgm}.group_id
- )
- AS bcc_group_member_count
+ (
+ SELECT
+ count(id)
+ FROM
+ {$cgm}
+ WHERE
+ bcc_group_id = {$cgm}.group_id
+ ) AS bcc_group_member_count
");
}
$cfg = array_merge($contents['mailer_opts'], $cfg);
}
+ if(isset($contents['css_inline'])){
+ $cfg['css_inline'] = $contents['css_inline'];
+ }
+
$r = new Pman_Core_Mailer($cfg);
$imageCache = session_save_path() . '/email-cache-' . $ui['name'] . '/mail/' . $this->tableName() . '-' . $this->id . '-images.txt';