Fixed bug with attachment redirection

SVN revision: 570
This commit is contained in:
Stefan Ritt 2003-07-03 15:04:11 +00:00
parent 88a1afbba3
commit 033d0fba9c

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.125 2003/07/03 15:04:11 midas
Fixed bug with attachment redirection
Revision 1.124 2003/07/01 14:32:52 midas Revision 1.124 2003/07/01 14:32:52 midas
Do not display logbook tabs during self-registration Do not display logbook tabs during self-registration
@ -12171,10 +12174,7 @@ FILE *f;
show_error(str); show_error(str);
} }
else else
{ redirect(lbs, attachment);
sprintf(str, "../%s", attachment);
redirect(lbs, str);
}
return; return;
} }