From: Anthony Talarico Date: Thu, 15 Jun 2017 12:14:28 +0000 (-0400) Subject: fixing malformed comment X-Git-Tag: v1.6.47^2~6 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=97e55f89d182f722a322f589e7d11fd89c98e2a0;p=WP-Plugins%2Fglm-member-db-events.git fixing malformed comment php error thrown due to a comment that was on a separate line with out the token --- diff --git a/models/front/events/list.php b/models/front/events/list.php index 5ec124a..ec2d563 100644 --- a/models/front/events/list.php +++ b/models/front/events/list.php @@ -713,8 +713,7 @@ class GlmMembersFront_events_list extends GlmMembersFront_events_baseAction } } $eventsByDate = $mainEvents; - // If the events are not grouped by day then they need to be -sorted. + // If the events are not grouped by day then they need to be sorted. } else if ( $events && !$groupByDay ) { usort( $events, function( $event1, $event2 ){ if ( $event1['starting_timestamp'] == $event2['starting_timestamp'] ) {