From c1fec147e8ca1c383034d0e45b352ecd3ee95016 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 12 Sep 2013 18:23:45 +1200 Subject: [PATCH] remove unused variable --- api/v3/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Profile.php b/api/v3/Profile.php index e42fbe0bad..2f87ce3526 100644 --- a/api/v3/Profile.php +++ b/api/v3/Profile.php @@ -455,7 +455,7 @@ function _civicrm_api3_buildprofile_submitfields($profileID, $optionsBehaviour = $fields = civicrm_api3('uf_field', 'get', array('uf_group_id' => $profileID)); $entities = array(); - foreach ($fields['values'] as $id => $field) { + foreach ($fields['values'] as $field) { if(!$field['is_active']) { continue; } -- 2.25.1