Francois Gouget : testbot/web: Fix deleting old files when Submit goes back to page 1.

Alexandre Julliard julliard at winehq.org
Tue Nov 27 13:30:29 CST 2018


Module: tools
Branch: master
Commit: a74194205941e6236c8d672bc0b0519c1013c873
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=a74194205941e6236c8d672bc0b0519c1013c873

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Nov 27 04:04:27 2018 +0100

testbot/web: Fix deleting old files when Submit goes back to page 1.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/web/Submit.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/web/Submit.pl b/testbot/web/Submit.pl
index 67c1f9b..3b7da06 100644
--- a/testbot/web/Submit.pl
+++ b/testbot/web/Submit.pl
@@ -713,7 +713,7 @@ sub OnPage2Prev($)
 {
   my ($self) = @_;
 
-  my $FileName = $self->GetParam("File");
+  my $FileName = $self->GetParam("FileName");
   if ($FileName)
   {
     my $StagingFileName = $self->GetTmpStagingFullPath(basename($FileName));




More information about the wine-cvs mailing list