summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
authordeva <deva>2009-07-30 07:38:55 +0000
committerdeva <deva>2009-07-30 07:38:55 +0000
commit1f8c58836dfd8dc8c9a0abeeaef6789325189f1b (patch)
treea746135b220712f02450c531bac7c3b75b746fb3 /server/src
parent965506c3e9ab1dca32c7be51c0271af78721c821 (diff)
Fixed tagname in the newly added (and obvously untested) TemplateHeaderParser class.
Diffstat (limited to 'server/src')
-rw-r--r--server/src/templateheaderparser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/templateheaderparser.cc b/server/src/templateheaderparser.cc
index 8b0f162..ee93381 100644
--- a/server/src/templateheaderparser.cc
+++ b/server/src/templateheaderparser.cc
@@ -95,7 +95,7 @@ TemplateHeaderParser::~TemplateHeaderParser()
void TemplateHeaderParser::startTag(std::string name, std::map< std::string, std::string> attributes)
{
// Create template and enable parsing of queries, maps and window
- if(name == "template") {
+ if(name == "course") {
assert(!t); // A Template has already been allocated, cannot create template!
t = new Template();
t->attributes = attributes;