From de95216f7c2f8e05a633f353832cef31e7670895 Mon Sep 17 00:00:00 2001 From: Jacek Date: Sat, 29 Nov 2014 12:49:36 +0100 Subject: [PATCH] fixing places --- templates/ajax/m_date_form.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/ajax/m_date_form.html b/templates/ajax/m_date_form.html index 1399a86..873b087 100644 --- a/templates/ajax/m_date_form.html +++ b/templates/ajax/m_date_form.html @@ -20,11 +20,11 @@ {/if} {/foreach} - {foreach from=$meetings item="m"} - {if $m->date == $date} - {if $m->place}{$m->place}{/if} - {/if} - {/foreach} + {foreach from=$meetings item="m" name="m_loop"} + {if $m->date == $date && $smarty.foreach.m_loop.index == 0} + {if $m->place}{$m->place}{/if} + {/if} + {/foreach}