fix: Event isOneDay template var now works properly when Event is not an all-day event

This commit is contained in:
Doug Bell 2007-09-12 20:45:51 +00:00
parent 4d36c1e6c2
commit 6ee7dfa099
2 changed files with 3 additions and 1 deletions

View file

@ -1217,7 +1217,7 @@ sub getTemplateVars {
$var{ "endDateEpoch" } = $dtEnd->epoch;
$var{ "isAllDay" } = $self->isAllDay;
$var{ "isOneDay" } = $var{isAllDay} && $var{startDateDmy} eq $var{endDateDmy}
$var{ "isOneDay" } = $var{startDateDmy} eq $var{endDateDmy}
? 1 : 0
;