diff --git a/src/elogd.c b/src/elogd.c
index 9279b892..1f2da846 100755
--- a/src/elogd.c
+++ b/src/elogd.c
@@ -11929,11 +11929,15 @@ void show_config_page(LOGBOOK * lbs)
/* check if user has access */
if (!isparam("unm") || check_login_user(&lb_list[i], getparam("unm"))) {
- if (email_notify[i])
- rsprintf("\n", i, i);
- else
- rsprintf("\n", i, i);
- rsprintf("
\n", i, lb_list[i].name);
+ /* check if emails are enabled for this logbook */
+ if (!getcfg(lb_list[i].name, "Suppress email to users", str, sizeof(str)) ||
+ atoi(str) == 0) {
+ if (email_notify[i])
+ rsprintf("\n", i, i);
+ else
+ rsprintf("\n", i, i);
+ rsprintf("
\n", i, lb_list[i].name);
+ }
}
}
}
@@ -16325,7 +16329,8 @@ void show_page_filters(LOGBOOK * lbs, int n_msg, int page_n, BOOL mode_commands,
loc("Last"), loc("Week"));
rsprintf("