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:
511e400
)
add recur day of the week into pdf
author
Steve Sutton
<steve@gaslightmedia.com>
Mon, 18 Apr 2016 21:03:40 +0000
(17:03 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Mon, 18 Apr 2016 21:03:40 +0000
(17:03 -0400)
models/front/events/list.php
patch
|
blob
|
history
diff --git
a/models/front/events/list.php
b/models/front/events/list.php
index
06cae2a
..
faaab9c
100644
(file)
--- a/
models/front/events/list.php
+++ b/
models/front/events/list.php
@@
-248,7
+248,7
@@
class GlmMembersFront_events_list extends GlmMembersFront_events_baseAction
// dates
$dates = new SetaPDF_Core_Text_Block( $boldFont, self::PDF_FONT_SIZE );
$eventDates = $event['dates'];
- if ( $event['recurring'] && count( $event['times'] > 1) && isset( $event['recurrences'] ) ) {
+ if ( $event['recurr
ences'][0]['recurr
ing'] && count( $event['times'] > 1) && isset( $event['recurrences'] ) ) {
if ( $event['recurrences'][0]['day_of_week']['names'] ) {
$eventDates .= ' (' . implode(', ', $event['recurrences'][0]['day_of_week']['names']) . ')';
}