From a0ad9a68144d261fa039d6c2dc9d44c924ead836 Mon Sep 17 00:00:00 2001 From: Breizh Date: Sun, 6 Jun 2021 15:00:36 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20limite=20de=20t=C3=A9l=C3=A9chargements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upload.js b/scripts/upload.js index 1b65ad8..7d1470f 100644 --- a/scripts/upload.js +++ b/scripts/upload.js @@ -32,7 +32,7 @@ function upload(file,exp,maxdl) { if (exp != "") { xhr.setRequestHeader('Max-Days',exp); } - if (maxdl != "") { + if (maxdl != 0) { xhr.setRequestHeader('Max-Downloads',maxdl); } // send file