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
commit3e6e2c3cf6d61b51eb23d0b8e31626c5f055bc94 (patch)
treebfd178747c3adb6bd674af86be040e6cadeb48a7
parentKeep the source DOM tree in memory and use it to implement rawview (diff)
downloadproject2-3e6e2c3cf6d61b51eb23d0b8e31626c5f055bc94.tar.bz2
project2-3e6e2c3cf6d61b51eb23d0b8e31626c5f055bc94.tar.xz
project2-3e6e2c3cf6d61b51eb23d0b8e31626c5f055bc94.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") {