]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Event listing boolean logic error
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 23 Jun 2014 18:22:15 +0000 (20:22 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 23 Jun 2014 18:22:15 +0000 (20:22 +0200)
plugins/Event/lib/eventlistitem.php

index cd28ce86e3df9d78d452499f6f42efbd1c2ee33e..9ad5ee29f0b3638557677605662de8a12d0d6c61 100644 (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