aboutsummaryrefslogtreecommitdiff
path: root/actions/friends
diff options
context:
space:
mode:
Diffstat (limited to 'actions/friends')
-rw-r--r--actions/friends/add.php3
-rw-r--r--actions/friends/remove.php3
2 files changed, 4 insertions, 2 deletions
diff --git a/actions/friends/add.php b/actions/friends/add.php
index 9dd8397bc..74238b3a0 100644
--- a/actions/friends/add.php
+++ b/actions/friends/add.php
@@ -12,7 +12,8 @@
*/
// Ensure we are logged in
- gatekeeper();
+ gatekeeper();
+ action_gatekeeper();
// Get the GUID of the user to friend
$friend_guid = get_input('friend');
diff --git a/actions/friends/remove.php b/actions/friends/remove.php
index debb0f7c2..ef0cdb46e 100644
--- a/actions/friends/remove.php
+++ b/actions/friends/remove.php
@@ -12,7 +12,8 @@
*/
// Ensure we are logged in
- gatekeeper();
+ gatekeeper();
+ action_gatekeeper();
// Get the GUID of the user to friend
$friend_guid = get_input('friend');