aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions/cropicon.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-06 11:03:28 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-06 11:03:28 +0000
commit3850904d467fe0ca6cb8800a75f1b9e233bf8d90 (patch)
tree11468d216df86f5ef042e15c14cf6f5da038c41a /mod/profile/actions/cropicon.php
parent288e06424b4c375c285d8fff34f9eb7f1b251a1e (diff)
downloadelgg-3850904d467fe0ca6cb8800a75f1b9e233bf8d90.tar.gz
elgg-3850904d467fe0ca6cb8800a75f1b9e233bf8d90.tar.bz2
* 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
Diffstat (limited to 'mod/profile/actions/cropicon.php')
-rw-r--r--mod/profile/actions/cropicon.php3
1 files changed, 3 insertions, 0 deletions
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);