Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
date_ical
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
drupal.org
date_ical
Commits
63c03a44
Commit
63c03a44
authored
Sep 08, 2015
by
Robert Rollins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #2564897: Fixed street number rendering of AddressFields. Patch by user pc-wurm.
parent
fc730415
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
includes/date_ical_plugin_row_ical_entity.inc
includes/date_ical_plugin_row_ical_entity.inc
+3
-0
No files found.
includes/date_ical_plugin_row_ical_entity.inc
View file @
63c03a44
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment