From ea5b2e4fd7b7862e201dec35836d7bbb5195df85 Mon Sep 17 00:00:00 2001 From: randomdan Date: Fri, 2 Jul 2010 17:19:38 +0000 Subject: Fix parameter lookup --- project2/sqlTask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project2/sqlTask.cpp b/project2/sqlTask.cpp index 93e656e..e6fec24 100644 --- a/project2/sqlTask.cpp +++ b/project2/sqlTask.cpp @@ -27,7 +27,7 @@ _SqlTask::execute(const ApplicationEngine * ep, const PerRowValues * parent) con if (p.second->source == "uri") { modify.bindParamS(p.second->bind, ep->env()->getParamUri(p.second->id)); } - else if (p.second->source == "modify") { + else if (p.second->source == "query") { modify.bindParamS(p.second->bind, ep->env()->getParamQuery(p.second->id)); } else if (parent && p.second->source == "parent") { -- cgit v1.2.3