From a4c991c16f00c1e085f05ac9486065ad77279f7d Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Fri, 13 Oct 2006 14:56:27 +0000 Subject: [PATCH] Fixed wrong "Suppress email notification" with conditional attributes SVN revision: 1729 --- src/elogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index 24db6ae9..0898c066 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -10033,7 +10033,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL } /* Suppress email check box */ - if (bedit) + if (message_id && bedit) getcfg(lbs->name, "Suppress Email on edit", str, sizeof(str)); else getcfg(lbs->name, "Suppress default", str, sizeof(str));