Commit 63c03a44 authored by Robert Rollins's avatar Robert Rollins

Issue #2564897: Fixed street number rendering of AddressFields. Patch by user pc-wurm.

parent fc730415
......@@ -253,6 +253,9 @@ class date_ical_plugin_row_ical_entity extends views_plugin_row {
}
elseif ($location_info['type'] == 'addressfield') {
$locations = array();
// Concatenate street and house number
$location_field['thoroughfare'] = implode(' ', array($location_field['thoroughfare'], $location_field['premise']));
unset($location_field['premise']);
foreach ($location_field as $key => $loc) {
if ($loc && !in_array($key, array('first_name', 'last_name'))) {
$locations[] = $loc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment