mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Possible fix for excessive forum post spam.
This commit is contained in:
@@ -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'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user