projects
/
WP-Plugins
/
glm-member-db-events.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1722f20
)
Add the city to icalfeed output
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 25 Apr 2017 18:37:33 +0000
(14:37 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 25 Apr 2017 18:37:33 +0000
(14:37 -0400)
Adding city to the LOCATION part of ical feed.
models/front/events/icalFeed.php
patch
|
blob
|
history
diff --git
a/models/front/events/icalFeed.php
b/models/front/events/icalFeed.php
index
ba2dae9
..
f3dc668
100644
(file)
--- a/
models/front/events/icalFeed.php
+++ b/
models/front/events/icalFeed.php
@@
-197,7
+197,7
@@
EOD;
if ( $event['locations']['address'] ) {
$output .= "{$event['locations']['address']}";
}
- if ( $event['locations']['city'] ) {
+ if ( $event['locations']['city']
['name']
) {
$output .= "\,{$event['locations']['city']['name']}";
}
if ( $event['locations']['state']['value'] ) {