Fix for Bug 6458 Follow-up for memberentrygen.tt

The registration date field would show up twice after applying the first
patch for memberentrygen.tt.

This patch fixes the problem.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Katrin Fischer 2010-08-11 02:27:39 +02:00 committed by Chris Cormack
parent e8a876614e
commit 8a4dbae0ef
1 changed files with 2 additions and 2 deletions

View File

@ -991,8 +991,8 @@
[% ELSE %]
[% UNLESS ( opadd ) %]
<input type="text" id="dateexpiry" name="dateexpiry" maxlength="10" size="10" value="[% dateexpiry %]" />
<input type="text" id="dateexpiry" name="dateexpiry" maxlength="10" size="10" value="[% UNLESS ( opadd ) %][% dateexpiry %][% END %]" />
[% ELSE %]
<input type="text" id="dateexpiry" name="dateexpiry" maxlength="10" size="10" />
[% END %]
[% END %]
<img src="[% themelang %]/lib/calendar/cal.gif" id="dateexpiry_button" alt="Show Calendar" />