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/editicon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/profile/editicon.php') diff --git a/mod/profile/editicon.php b/mod/profile/editicon.php index 2471eb00e..b9e2b2e13 100644 --- a/mod/profile/editicon.php +++ b/mod/profile/editicon.php @@ -24,7 +24,7 @@ // set title $area2 = elgg_view_title(elgg_echo('profile:createicon:header')); - $area2 .= elgg_view("profile/editicon"); + $area2 .= elgg_view("profile/editicon", array('user' => $page_owner)); // Get the form and correct canvas area $body = elgg_view_layout("two_column_left_sidebar", '', $area2); -- cgit v1.2.3