Fixed 'append on edit' with uploads

SVN revision: 1107
This commit is contained in:
Stefan Ritt 2004-10-14 19:40:40 +00:00
parent dd72f87b64
commit c6c813aff1

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.496 2004/10/14 19:40:40 midas
Fixed 'append on edit' with uploads
Revision 1.495 2004/10/13 22:21:21 midas Revision 1.495 2004/10/13 22:21:21 midas
Started implementation of regex Started implementation of regex
@ -8217,6 +8220,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
/* otherwise some HTML statments would break the page syntax */ /* otherwise some HTML statments would break the page syntax */
rsputs3(text); rsputs3(text);
if (!bupload)
if (getcfg(lbs->name, "Append on edit", str, sizeof(str))) { if (getcfg(lbs->name, "Append on edit", str, sizeof(str))) {
strsubst(str, slist, svalue, j); strsubst(str, slist, svalue, j);
while (strstr(str, "\\n")) while (strstr(str, "\\n"))