From a355d047e8822831da9830021d6d72b3efe3eff1 Mon Sep 17 00:00:00 2001 From: Stefan Lenders Date: Sun, 29 Apr 2018 09:43:26 +0200 Subject: [PATCH] #89 Fix forum rules newpoints --- form.php | 1 + inc/plugins/formcreator.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/form.php b/form.php index d7bc941..a10a183 100644 --- a/form.php +++ b/form.php @@ -273,6 +273,7 @@ if ($forum = get_forum($formcreator->fid)) { $mybb->input['action'] = "do_newthread"; + $fid = $forum['fid']; $posthandler = new PostDataHandler(); $posthandler->action = "thread"; diff --git a/inc/plugins/formcreator.php b/inc/plugins/formcreator.php index de86f14..8869c26 100644 --- a/inc/plugins/formcreator.php +++ b/inc/plugins/formcreator.php @@ -22,7 +22,7 @@ function formcreator_info() 'website' => 'https://community.mybb.com/mods.php?action=view&pid=975', 'author' => 'S. Lenders (burnacid)', 'authorsite' => 'http://lenders-it.nl', - 'version' => '2.4.2', + 'version' => '2.4.3', 'compatibility' => '18*', 'codename' => 'formcreator'); }