aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_mail.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_mail.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php
index f26af9a83..7307781f2 100644
--- a/include/functions_mail.inc.php
+++ b/include/functions_mail.inc.php
@@ -174,7 +174,8 @@ from
'.USER_INFOS_TABLE.' as I
where
I.user_id = U.'.$conf['user_fields']['id'].' and
- I.status in (\'webmaster\', \'admin\') and
+ I.status in (\'webmaster\', \'admin\') and
+ I.adviser = \'false\' and
'.$conf['user_fields']['email'].' is not null
order by
username