From 1f8c58836dfd8dc8c9a0abeeaef6789325189f1b Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 30 Jul 2009 07:38:55 +0000 Subject: Fixed tagname in the newly added (and obvously untested) TemplateHeaderParser class. --- server/src/templateheaderparser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') 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; -- cgit v1.2.3