Alex first congrats on your new position
The fix provided for 4.4.5 will not work - the original code is different. This is 4.4.5
Code:
foreach ($address_fields as $field => $def_value) {
$result[$addressIndex][$field] = (
isset($user_info[$prefix . $field])
&& !empty($user_info[$prefix . $field])
)
? $user_info[$prefix . $field]
: (
!empty($user_info[$field])
? $user_info[$field]
: $def_value
);
}
For other 4.4.x versions - yes what you posted is what the code is. Can you please check on 4.4.5 and repost. Thanks