From 4080be05a18aeaf1bceca4e5fe5c369294b87b56 Mon Sep 17 00:00:00 2001 From: Luedeke Andreas Date: Thu, 7 Mar 2019 16:13:55 +0100 Subject: [PATCH] fix "Subscribe to logbooks" table for hidden logbooks --- src/elogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index 792748d9..5c759f0e 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -14026,7 +14026,6 @@ void show_config_page(LOGBOOK * lbs) rsprintf("\n"); for (j = i = 0; lb_list[i].name[0]; i++) { - if (j==0) rsprintf(""); if (!getcfg_topgroup() || strieq(getcfg_topgroup(), lb_list[i].top_group)) { @@ -14035,6 +14034,7 @@ void show_config_page(LOGBOOK * lbs) /* 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 (j==0) rsprintf("
"); if (email_notify[i]) rsprintf("
\n", i, i);