Page MenuHomePhabricator

D8342.id19835.diff
No OneTemporary

D8342.id19835.diff

diff --git a/src/applications/people/controller/PhabricatorPeopleProfileController.php b/src/applications/people/controller/PhabricatorPeopleProfileController.php
--- a/src/applications/people/controller/PhabricatorPeopleProfileController.php
+++ b/src/applications/people/controller/PhabricatorPeopleProfileController.php
@@ -166,7 +166,7 @@
$next_day->modify('+1 day');
$epoch_end = $next_day->format('U');
- foreach ($statuses as $status) {
+ foreach ($statuses as $key => $status) {
if ($status->getDateFrom() >= $epoch_end) {
// This list is sorted, so we can stop looking.
break;
@@ -180,7 +180,6 @@
$event->setName($status_text);
$event->setDescription($status->getDescription());
$event->setEventID($status->getID());
- $key = date('Y-m-d', $event->getEpochStart());
$events[$epoch_start][] = $event;
// check if this is a multi day event...!
$day_iterator = clone $day;
@@ -193,6 +192,7 @@
break;
}
}
+ unset($statuses[$key]);
}
}

File Metadata

Mime Type
text/plain
Expires
Fri, Sep 20, 7:05 AM (12 h, 24 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6622825
Default Alt Text
D8342.id19835.diff (1 KB)

Event Timeline