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:
8e09a15
)
Correcting logic
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 4 Apr 2019 12:20:11 +0000
(08:20 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 4 Apr 2019 12:20:11 +0000
(08:20 -0400)
end ) was in wrong place.
models/front/events/baseAction.php
patch
|
blob
|
history
diff --git
a/models/front/events/baseAction.php
b/models/front/events/baseAction.php
index
803c47b
..
3c85489
100644
(file)
--- a/
models/front/events/baseAction.php
+++ b/
models/front/events/baseAction.php
@@
-601,7
+601,7
@@
abstract class GlmMembersFront_events_baseAction extends GlmDataEvents
public function getEventRecurDays( $event )
{
$eventDates = '';
- if ( isset( $event['recurrences'] ) && count( $event['times']
> 1)
) {
+ if ( isset( $event['recurrences'] ) && count( $event['times']
) > 1
) {
foreach ( $event['recurrences'] as $recur ) {
if ( $recur['recurring']['name'] == 'Yes' && $recur['day_of_week']['names'] ) {
if ( $recur['week_of_month']['names'] ) {