X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fforumviewthreadpage.h;fp=include%2Fhttp%2Fpages%2Fforumviewthreadpage.h;h=6374105e3b7fc1b7c360616ac340d19995d1374a;hp=78c2e2cf065bbc0e6e57993aebc476c7a50d5102;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hpb=4e96d123460d6363cf7274e36bd9357768eb86ad diff --git a/include/http/pages/forumviewthreadpage.h b/include/http/pages/forumviewthreadpage.h index 78c2e2c..6374105 100644 --- a/include/http/pages/forumviewthreadpage.h +++ b/include/http/pages/forumviewthreadpage.h @@ -6,9 +6,9 @@ class ForumViewThreadPage:public ForumPage { public: - ForumViewThreadPage(const std::string &templatestr):ForumPage(templatestr,"forumviewthread.htm") {} + ForumViewThreadPage(SQLite3DB::DB *db,const std::string &templatestr):ForumPage(db,templatestr,"forumviewthread.htm") {} - IPageHandler *New() { return new ForumViewThreadPage(m_template); } + IPageHandler *New() { return new ForumViewThreadPage(m_db,m_template); } private: const std::string GeneratePage(const std::string &method, const std::map &queryvars);