1
0
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:
e107steved
2011-10-21 21:32:32 +00:00
parent 1289e8d2c0
commit f0d9fe4334

View File

@@ -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';