Index: branches/5.2.x/core/units/user_profile/user_profile_eh.php =================================================================== diff -u -N -r16513 -r16692 --- branches/5.2.x/core/units/user_profile/user_profile_eh.php (.../user_profile_eh.php) (revision 16513) +++ branches/5.2.x/core/units/user_profile/user_profile_eh.php (.../user_profile_eh.php) (revision 16692) @@ -1,6 +1,6 @@ Application->GetVar($event->getPrefixSpecial(true)); - list ($user_id, $field_values) = each($items_info); + $user_id = key($items_info); + $field_values = $items_info[$user_id]; if ($user_id != $this->Application->RecallVar('user_id')) { // we are not updating own profile