Event listing boolean logic error
This commit is contained in:
parent
86fa4f5fe5
commit
725af5edd0
@ -118,8 +118,8 @@ class EventListItem extends NoticeListItemAdapter
|
|||||||
$out->text(' – ');
|
$out->text(' – ');
|
||||||
$out->element('time', array('class' => 'dt-end',
|
$out->element('time', array('class' => 'dt-end',
|
||||||
'datetime' => common_date_iso8601($event->end_time)),
|
'datetime' => common_date_iso8601($event->end_time)),
|
||||||
$startDateStr == $endDateStr
|
$startDateStr != $endDateStr
|
||||||
? "$endDatestr $endTimeStr"
|
? "$endDateStr $endTimeStr"
|
||||||
: $endTimeStr);
|
: $endTimeStr);
|
||||||
|
|
||||||
$out->elementEnd('div'); // VEVENT/EVENT-TIMES OUT
|
$out->elementEnd('div'); // VEVENT/EVENT-TIMES OUT
|
||||||
|
Loading…
Reference in New Issue
Block a user