mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Add e_token to all comments
This commit is contained in:
@@ -363,6 +363,8 @@ class comment
|
|||||||
|
|
||||||
if ($this->getCommentPermissions() != 'rw') return;
|
if ($this->getCommentPermissions() != 'rw') return;
|
||||||
|
|
||||||
|
e107::getSession()->check(); // This will abort on error
|
||||||
|
|
||||||
if (isset($_GET['comment']) && $_GET['comment'] == 'edit')
|
if (isset($_GET['comment']) && $_GET['comment'] == 'edit')
|
||||||
{
|
{
|
||||||
$eaction = 'edit';
|
$eaction = 'edit';
|
||||||
|
Reference in New Issue
Block a user