From 5ebfb769b6f05e4d606f4d94d6c6e9d9104b7973 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 7 Apr 2010 16:43:48 +0000 Subject: Fixed incorrect casting to int for profile ids. Fixed incorrect URL for reordering. git-svn-id: http://code.elgg.org/elgg/trunk@5656 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/actions/deletedefaultprofileitem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/profile/actions/deletedefaultprofileitem.php') diff --git a/mod/profile/actions/deletedefaultprofileitem.php b/mod/profile/actions/deletedefaultprofileitem.php index 7d431020d..e54aa026d 100644 --- a/mod/profile/actions/deletedefaultprofileitem.php +++ b/mod/profile/actions/deletedefaultprofileitem.php @@ -13,7 +13,7 @@ global $CONFIG; admin_gatekeeper(); -$id = (int)get_input('id'); +$id = get_input('id'); $fieldlist = get_plugin_setting('user_defined_fields', 'profile'); if (!$fieldlist) { -- cgit v1.2.3