X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=src%2Fhttp%2Fpages%2Fforumcreatepostpage.cpp;fp=src%2Fhttp%2Fpages%2Fforumcreatepostpage.cpp;h=18961439711b8267ced6b0e707577d1825bbf32b;hp=ac9ed16766bfeba4359688bf6964b25d9131f7ad;hb=f2545574af789b63fc655decfe31a3d9f1b30504;hpb=221236a4d3aac4144529d418ce368db5c98facb0 diff --git a/src/http/pages/forumcreatepostpage.cpp b/src/http/pages/forumcreatepostpage.cpp index ac9ed16..1896143 100644 --- a/src/http/pages/forumcreatepostpage.cpp +++ b/src/http/pages/forumcreatepostpage.cpp @@ -118,7 +118,7 @@ const std::string ForumCreatePostPage::GeneratePage(const std::string &method, c replyst.ResultText(0,subject); replyst.ResultText(1,body); - if(subject.size()<3 || (subject.substr(0,2)!="re:" && subject.substr(0,2)!="Re:")) + if(subject.size()<3 || (subject.substr(0,3)!="re:" && subject.substr(0,3)!="Re:")) { subject="Re: "+subject; } @@ -184,7 +184,7 @@ const std::string ForumCreatePostPage::GeneratePage(const std::string &method, c content+=""; content+=""; content+=""; - content+=""; + content+=""; content+=""; content+="
From"+LocalIdentityDropDown("localidentityid",localidentityidstr)+"
Subject
Message
Message
\r\n"; content+="";