From: Steve Sutton Date: Thu, 4 Apr 2019 12:20:11 +0000 (-0400) Subject: Correcting logic X-Git-Tag: v1.7.23^2~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=3faa4b1c2dd4f35a5f6ec55b53f7b6b11b7b7a80;p=WP-Plugins%2Fglm-member-db-events.git Correcting logic end ) was in wrong place. --- diff --git a/models/front/events/baseAction.php b/models/front/events/baseAction.php index 803c47b..3c85489 100644 --- 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'] ) {