aboutsummaryrefslogtreecommitdiff
path: root/actions/comments/add.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/comments/add.php')
-rw-r--r--actions/comments/add.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/comments/add.php b/actions/comments/add.php
index bdc7fd06f..e02079dbd 100644
--- a/actions/comments/add.php
+++ b/actions/comments/add.php
@@ -11,7 +11,8 @@
*/
// Make sure we're logged in; forward to the front page if not
- if (!isloggedin()) forward();
+ gatekeeper();
+ action_gatekeeper();
// Get input
$entity_guid = (int) get_input('entity_guid');