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/cropicon.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mod/profile/actions/cropicon.php') diff --git a/mod/profile/actions/cropicon.php b/mod/profile/actions/cropicon.php index 5acf8a915..58f12a512 100644 --- a/mod/profile/actions/cropicon.php +++ b/mod/profile/actions/cropicon.php @@ -9,6 +9,9 @@ * @copyright Curverider Ltd 2008-2009 * @link http://elgg.com/ */ + + gatekeeper(); + action_gatekeeper(); $x1 = (int) get_input('x_1',0); $y1 = (int) get_input('y_1',0); -- cgit v1.2.3