version 0.3.29
[fms.git] / include / http / pages / forumcreatepostpage.h
index 7f2b592..fb057cd 100644 (file)
@@ -6,9 +6,9 @@
 class ForumCreatePostPage:public ForumPage\r
 {\r
 public:\r
-       ForumCreatePostPage(const std::string &templatestr):ForumPage(templatestr,"forumcreatepost.htm")        {}\r
+       ForumCreatePostPage(SQLite3DB::DB *db, const std::string &templatestr):ForumPage(db,templatestr,"forumcreatepost.htm")  {}\r
 \r
-       IPageHandler *New()             { return new ForumCreatePostPage(m_template); }\r
+       IPageHandler *New()             { return new ForumCreatePostPage(m_db,m_template); }\r
 private:\r
        const std::string GeneratePage(const std::string &method, const std::map<std::string,std::string> &queryvars);\r
 \r