summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-07-02 17:19:38 +0000
committerrandomdan <randomdan@localhost>2010-07-02 17:19:38 +0000
commitea5b2e4fd7b7862e201dec35836d7bbb5195df85 (patch)
treebfd178747c3adb6bd674af86be040e6cadeb48a7
parentKeep the source DOM tree in memory and use it to implement rawview (diff)
downloadproject2-ea5b2e4fd7b7862e201dec35836d7bbb5195df85.tar.bz2
project2-ea5b2e4fd7b7862e201dec35836d7bbb5195df85.tar.xz
project2-ea5b2e4fd7b7862e201dec35836d7bbb5195df85.zip
Fix parameter lookup
-rw-r--r--project2/sqlTask.cpp2
1 files changed, 1 insertions, 1 deletions
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") {