Browse files

default max_download is 9999

  • Loading branch information...
1 parent 02e637c commit 1a815ae3e2a1459e74d8666e86a77a5f9d2dfbbb @aanoaa committed Jul 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Upload/Web/Controller/Root.pm
View
2 lib/Upload/Web/Controller/Root.pm
@@ -56,7 +56,7 @@ sub upload :Local {
{
md5 => $uuid,
fname => $upload->basename,
- max_download => $c->req->params->{onetime},
+ max_download => $c->req->params->{onetime} || 9999,
}
);

0 comments on commit 1a815ae

Please sign in to comment.