Fixed wrong "Suppress email notification" with conditional attributes

SVN revision: 1729
This commit is contained in:
Stefan Ritt 2006-10-13 14:56:27 +00:00
parent 9dbfc65810
commit a4c991c16f

View File

@ -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));