X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fforumthreadspage.h;fp=include%2Fhttp%2Fpages%2Fforumthreadspage.h;h=37fef3edb8b0314f1764e8de57b48346ceb593be;hp=71131c1b9882e66d71ebe9860fad4f54ec887bd6;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hpb=4e96d123460d6363cf7274e36bd9357768eb86ad diff --git a/include/http/pages/forumthreadspage.h b/include/http/pages/forumthreadspage.h index 71131c1..37fef3e 100644 --- a/include/http/pages/forumthreadspage.h +++ b/include/http/pages/forumthreadspage.h @@ -6,9 +6,9 @@ class ForumThreadsPage:public ForumPage { public: - ForumThreadsPage(const std::string &templatestr):ForumPage(templatestr,"forumthreads.htm") {} + ForumThreadsPage(SQLite3DB::DB *db, const std::string &templatestr):ForumPage(db,templatestr,"forumthreads.htm") {} - IPageHandler *New() { return new ForumThreadsPage(m_template); } + IPageHandler *New() { return new ForumThreadsPage(m_db,m_template); } private: const std::string GeneratePage(const std::string &method, const std::map &queryvars);