Only show location name on Events list if location name exists
authorLaury GvR <laury@gaslightmedia.com>
Fri, 1 Jun 2018 19:23:43 +0000 (15:23 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 1 Jun 2018 19:23:43 +0000 (15:23 -0400)
glm-member-db-events/views/front/events/agenda.html

index 347630f..d092a51 100644 (file)
@@ -93,7 +93,7 @@
                                             {/if}
                                         </div>
                                         <div class="event-contents clearfix">
-                                            {if $event.locations}
+                                            {if $event.locations.name}
                                                 <div class="glm-agenda-city">Location: {$event.locations.name}</div>
                                             {/if}