From 62635ad6fbc19e78cf839e186d7fadd157837abf Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 8 Jul 2013 10:36:13 -0700 Subject: [PATCH] Possible fix for excessive forum post spam. --- e107_plugins/forum/forum_class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/e107_plugins/forum/forum_class.php b/e107_plugins/forum/forum_class.php index 8eebe5bcf..5159811be 100644 --- a/e107_plugins/forum/forum_class.php +++ b/e107_plugins/forum/forum_class.php @@ -212,6 +212,11 @@ class e107forum function ajaxQuickReply() { $tp = e107::getParser(); + + if(!isset($_POST['e_token'])) // Set the token if not included + { + $_POST['e_token'] = ''; + } if(!e107::getSession()->check(false) || !$this->checkPerm($_POST['post'], 'post')) {