From: Mikael Nordfeldth Date: Mon, 23 Jun 2014 18:22:15 +0000 (+0200) Subject: Event listing boolean logic error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=725af5edd0bdf323b11f98d7b8e7ba0d89a898a0;p=quix0rs-gnu-social.git Event listing boolean logic error --- 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