aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions/deletedefaultprofileitem.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-07 16:43:48 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-07 16:43:48 +0000
commit5ebfb769b6f05e4d606f4d94d6c6e9d9104b7973 (patch)
tree5affc75c8ae0eec7c0a68de5ea2e48f6864f4ae0 /mod/profile/actions/deletedefaultprofileitem.php
parent0503488741f3f05f0b01f87e038884f95817af44 (diff)
downloadelgg-5ebfb769b6f05e4d606f4d94d6c6e9d9104b7973.tar.gz
elgg-5ebfb769b6f05e4d606f4d94d6c6e9d9104b7973.tar.bz2
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
Diffstat (limited to 'mod/profile/actions/deletedefaultprofileitem.php')
-rw-r--r--mod/profile/actions/deletedefaultprofileitem.php2
1 files changed, 1 insertions, 1 deletions
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) {