Fix limite de téléchargements

This commit is contained in:
Breizh 2021-06-06 15:00:36 +02:00
parent 61db0c5350
commit a0ad9a6814

View file

@ -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