diff --git a/htdocs/contact/list.php b/htdocs/contact/list.php index ec217d23641..1d2702d61f0 100644 --- a/htdocs/contact/list.php +++ b/htdocs/contact/list.php @@ -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