Fixed problem with extendable attributes which are fixed during edit

SVN revision: 1483
This commit is contained in:
Stefan Ritt 2005-09-09 09:05:16 +00:00
parent cabcee4715
commit bdd32ac8fa

View File

@ -6,6 +6,9 @@
Contents: Web server program for Electronic Logbook ELOG Contents: Web server program for Electronic Logbook ELOG
$Log$ $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 Revision 1.747 2005/09/06 12:26:01 ritt
Fixed bug with subtext quick filter 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 attribute cannot be changed, just display text */
if ((attr_flags[index] & AF_LOCKED) || if ((attr_flags[index] & AF_LOCKED) ||
(bedit && (attr_flags[index] & AF_FIXED_EDIT)) || (message_id && !bedit ((bedit && !breedit && !bupload) && (attr_flags[index] & AF_FIXED_EDIT)) ||
&& (attr_flags[index] & AF_FIXED_REPLY))) { (message_id && !bedit && (attr_flags[index] & AF_FIXED_REPLY))) {
if (attr_flags[index] & AF_DATE) { if (attr_flags[index] & AF_DATE) {
if (!getcfg(lbs->name, "Date format", format, sizeof(format))) if (!getcfg(lbs->name, "Date format", format, sizeof(format)))