fix: Event isOneDay template var now works properly when Event is not an all-day event
This commit is contained in:
parent
4d36c1e6c2
commit
6ee7dfa099
2 changed files with 3 additions and 1 deletions
|
|
@ -42,6 +42,8 @@
|
|||
- fix: Use previous form value for Subscribe on CS preview
|
||||
- Use current subscription status on form for CS reply, unsubscribe if set to no
|
||||
- add: WebGUI::Form::CheckList now has optional "Select All" button
|
||||
- fix: Event isOneDay template variable now works properly when Event isn't an
|
||||
all-day event
|
||||
|
||||
7.4.5
|
||||
- fix: Apostrophy incorrectly escaped as double quote in some places
|
||||
|
|
|
|||
|
|
@ -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
|
||||
;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue