Fixed bug when attributes got not fixed during preview

SVN revision: 2203
This commit is contained in:
2009-06-04 12:37:18 +00:00
parent 551822f80b
commit dd6ac8b93c
+3 -3
View File
@@ -10096,9 +10096,9 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
rsprintf("</td>\n");
/* if attribute cannot be changed, just display text */
if ((attr_flags[index] & AF_LOCKED) || ((bedit && !breedit && !bupload) && (attr_flags[index]
& AF_FIXED_EDIT))
|| (message_id && !bedit && (attr_flags[index] & AF_FIXED_REPLY))) {
if ((attr_flags[index] & AF_LOCKED) ||
(message_id && bedit && (attr_flags[index] & AF_FIXED_EDIT)) ||
(message_id && !bedit && (attr_flags[index] & AF_FIXED_REPLY))) {
if (attr_flags[index] & AF_DATE) {