From 3850904d467fe0ca6cb8800a75f1b9e233bf8d90 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 6 Jul 2009 11:03:28 +0000 Subject: * Closes #1104: Edit profile and edit icon links on pulldown menu for editable users. * Closes #545: Admins are now able to edit profiles and icons of other users. * CSRF protection added to icon upload and edit code. * Version bump. git-svn-id: https://code.elgg.org/elgg/trunk@3387 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/actions/edit.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mod/profile/actions/edit.php') diff --git a/mod/profile/actions/edit.php b/mod/profile/actions/edit.php index 95a669a69..5092dbd8b 100644 --- a/mod/profile/actions/edit.php +++ b/mod/profile/actions/edit.php @@ -11,7 +11,10 @@ */ // Load configuration - global $CONFIG; + global $CONFIG; + + gatekeeper(); + action_gatekeeper(); // Get profile fields $input = array(); -- cgit v1.2.3