summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/profile/profile.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.admin.inc b/modules/profile/profile.admin.inc
index 5171086e9..95b2c5a0a 100644
--- a/modules/profile/profile.admin.inc
+++ b/modules/profile/profile.admin.inc
@@ -171,7 +171,7 @@ function theme_profile_admin_overview($form) {
* @see profile_field_form_submit()
*/
function profile_field_form(&$form_state, $arg = NULL) {
- if (arg(3) == 'edit') {
+ if (arg(4) == 'edit') {
if (is_numeric($arg)) {
$fid = $arg;