From f0d9fe4334b174e1650943b4715e099ace9246f2 Mon Sep 17 00:00:00 2001 From: e107steved Date: Fri, 21 Oct 2011 21:32:32 +0000 Subject: [PATCH] Add e_token to all comments --- e107_handlers/comment_class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/e107_handlers/comment_class.php b/e107_handlers/comment_class.php index 80fb2b028..d18a67d8b 100644 --- a/e107_handlers/comment_class.php +++ b/e107_handlers/comment_class.php @@ -363,6 +363,8 @@ class comment if ($this->getCommentPermissions() != 'rw') return; + e107::getSession()->check(); // This will abort on error + if (isset($_GET['comment']) && $_GET['comment'] == 'edit') { $eaction = 'edit';