From 725af5edd0bdf323b11f98d7b8e7ba0d89a898a0 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 23 Jun 2014 20:22:15 +0200 Subject: [PATCH] Event listing boolean logic error --- plugins/Event/lib/eventlistitem.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Event/lib/eventlistitem.php b/plugins/Event/lib/eventlistitem.php index cd28ce86e3..9ad5ee29f0 100644 --- a/plugins/Event/lib/eventlistitem.php +++ b/plugins/Event/lib/eventlistitem.php @@ -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 -- 2.39.5