1
0
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:
Cameron
2013-07-08 10:36:13 -07:00
parent 9f25edfcc2
commit 62635ad6fb

View File

@@ -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'))
{