mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-14 20:33:48 +00:00
Fixed <keep> on resubmits
SVN revision: 123
This commit is contained in:
parent
a57ecdc971
commit
71ae27f40c
11
elogd.c
11
elogd.c
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 2.18 2002/06/14 07:15:22 midas
|
||||||
|
Fixed <keep> on resubmits
|
||||||
|
|
||||||
Revision 2.17 2002/06/14 06:55:33 midas
|
Revision 2.17 2002/06/14 06:55:33 midas
|
||||||
Rebuild index if data file got deleted
|
Rebuild index if data file got deleted
|
||||||
|
|
||||||
@ -2109,7 +2112,7 @@ BOOL bedit;
|
|||||||
close(fh);
|
close(fh);
|
||||||
|
|
||||||
/* if reply, mark original message */
|
/* if reply, mark original message */
|
||||||
if (in_reply_to[0] && !bedit)
|
if (in_reply_to[0] && !bedit && atoi(in_reply_to) > 0)
|
||||||
{
|
{
|
||||||
char date[80], attr[MAX_N_ATTR][NAME_LENGTH], enc[80],
|
char date[80], attr[MAX_N_ATTR][NAME_LENGTH], enc[80],
|
||||||
att[MAX_ATTACHMENTS][256], reply_to[256];
|
att[MAX_ATTACHMENTS][256], reply_to[256];
|
||||||
@ -4548,7 +4551,7 @@ FILE *f;
|
|||||||
|
|
||||||
if (equal_ustring(mode, "Summary"))
|
if (equal_ustring(mode, "Summary"))
|
||||||
{
|
{
|
||||||
if (number % 2 == 0)
|
if (number % 2 == 1)
|
||||||
strcpy(col, gt("List bgcolor1"));
|
strcpy(col, gt("List bgcolor1"));
|
||||||
else
|
else
|
||||||
strcpy(col, gt("List bgcolor2"));
|
strcpy(col, gt("List bgcolor2"));
|
||||||
@ -5899,8 +5902,8 @@ int i, j, n, missing, first, index, n_attr, n_mail, suppress, message_id;
|
|||||||
/* delete old message */
|
/* delete old message */
|
||||||
el_delete_message(lbs, atoi(getparam("orig")), FALSE, att_file, TRUE);
|
el_delete_message(lbs, atoi(getparam("orig")), FALSE, att_file, TRUE);
|
||||||
unsetparam("orig");
|
unsetparam("orig");
|
||||||
strcpy(reply_to, "<keep>");
|
strcpy(reply_to, "");
|
||||||
strcpy(in_reply_to, "<keep>");
|
strcpy(in_reply_to, "");
|
||||||
date[0] = 0;
|
date[0] = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user