From 2407d70bd31a802bde54939f42243064600e0289 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Mon, 8 Mar 2004 20:49:18 +0000 Subject: [PATCH] Fixed bug with supressed email notification box and conditional attributes SVN revision: 819 --- src/elogd.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index de1ccf8a..36d4b495 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.286 2004/03/08 20:49:18 midas + Fixed bug with supressed email notification box and conditional attributes + Revision 1.285 2004/03/08 13:00:12 midas Filter entries with invalid date @@ -7078,7 +7081,8 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL } /* Suppress email check box */ - if (!(bedit && getcfg_cond(lbs->name, condition, "Suppress Email on edit", str) + if (!(bedit && !breedit && !bupload + && getcfg_cond(lbs->name, condition, "Suppress Email on edit", str) && atoi(str) == 1)) { if (getcfg_cond(lbs->name, condition, "Suppress default", str)) { if (atoi(str) == 0) {