immutable fix

This commit is contained in:
Adam D. Ruppe 2011-11-29 10:02:36 -05:00
parent 6b066512f2
commit 7bb185151c
1 changed files with 2 additions and 1 deletions

3
web.d
View File

@ -1007,7 +1007,8 @@ void run(Provider)(Cgi cgi, Provider instantiation, int pathInfoStartingPoint =
} else {
Parameter[] params;
foreach(i, p; fun.parameters) {
params ~= p;
// ugh
params ~= cast(Parameter) p;
string value = "";
if(p.name in cgi.get)
value = cgi.get[p.name];