From bdd32ac8fad80abfe889493d1a75524e82f70809 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Fri, 9 Sep 2005 09:05:16 +0000 Subject: [PATCH] Fixed problem with extendable attributes which are fixed during edit SVN revision: 1483 --- src/elogd.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/elogd.c b/src/elogd.c index aa9d3ae9..e0c84be3 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.748 2005/09/09 09:05:16 ritt + Fixed problem with extendable attributes which are fixed during edit + Revision 1.747 2005/09/06 12:26:01 ritt Fixed bug with subtext quick filter @@ -9797,8 +9800,9 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL /* if attribute cannot be changed, just display text */ if ((attr_flags[index] & AF_LOCKED) || - (bedit && (attr_flags[index] & AF_FIXED_EDIT)) || (message_id && !bedit - && (attr_flags[index] & AF_FIXED_REPLY))) { + ((bedit && !breedit && !bupload) && (attr_flags[index] & AF_FIXED_EDIT)) || + (message_id && !bedit && (attr_flags[index] & AF_FIXED_REPLY))) { + if (attr_flags[index] & AF_DATE) { if (!getcfg(lbs->name, "Date format", format, sizeof(format)))