aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions/deletedefaultprofileitem.php
diff options
context:
space:
mode:
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) {