const fix

This commit is contained in:
Adam D. Ruppe 2011-11-29 10:01:30 -05:00
parent 5564bd9d60
commit 6b066512f2
1 changed files with 2 additions and 1 deletions

3
web.d
View File

@ -1005,8 +1005,9 @@ void run(Provider)(Cgi cgi, Provider instantiation, int pathInfoStartingPoint =
form = doc.requireSelector!Form("form");
} else {
Parameter[] params = fun.parameters.dup;
Parameter[] params;
foreach(i, p; fun.parameters) {
params ~= p;
string value = "";
if(p.name in cgi.get)
value = cgi.get[p.name];