Event listing boolean logic error

This commit is contained in:
Mikael Nordfeldth 2014-06-23 20:22:15 +02:00
parent 86fa4f5fe5
commit 725af5edd0

View File

@ -118,8 +118,8 @@ class EventListItem extends NoticeListItemAdapter
$out->text(' ');
$out->element('time', array('class' => 'dt-end',
'datetime' => common_date_iso8601($event->end_time)),
$startDateStr == $endDateStr
? "$endDatestr $endTimeStr"
$startDateStr != $endDateStr
? "$endDateStr $endTimeStr"
: $endTimeStr);
$out->elementEnd('div'); // VEVENT/EVENT-TIMES OUT