Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts: htdocs/core/modules/mailings/modules_mailings.php
This commit is contained in:
commit
7cd09eb649
@ -370,7 +370,7 @@ if (!empty($extrafields->attributes[$object->table_element]['label'])) {
|
||||
$sql .= ($extrafields->attributes[$object->table_element]['type'][$key] != 'separate' ? ", ef.".$key.' as options_'.$key : '');
|
||||
}
|
||||
}
|
||||
if(!empty($conf->mailing->enabled)) {
|
||||
if (!empty($conf->mailing->enabled)) {
|
||||
$sql .= ", (SELECT count(*) FROM ".MAIN_DB_PREFIX."mailing_unsubscribe WHERE email = p.email) as unsubscribed";
|
||||
}
|
||||
// Add fields from hooks
|
||||
|
||||
Loading…
Reference in New Issue
Block a user