diff options
-rw-r--r-- | project2/cgi/cgiAppEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/cgi/cgiAppEngine.cpp b/project2/cgi/cgiAppEngine.cpp index 1c52135..1cee535 100644 --- a/project2/cgi/cgiAppEngine.cpp +++ b/project2/cgi/cgiAppEngine.cpp @@ -144,7 +144,7 @@ CgiApplicationEngine::addAppData(const Presenter * p) const addCoreAppData(p); // Sessions variables p->pushSub("session", env()->xmlPrefix); - p->addField("id", cursession->ID.str()); + p->addAttr("id", cursession->ID.str()); Session::Values session(cursession->GetValuesCopy()); BOOST_FOREACH(Session::Values::value_type sv, session) { p->pushSub("var", env()->xmlPrefix); |