Page MenuHomePhabricator

D8591.id.diff
No OneTemporary

D8591.id.diff

diff --git a/src/applications/calendar/controller/PhabricatorCalendarEventEditController.php b/src/applications/calendar/controller/PhabricatorCalendarEventEditController.php
--- a/src/applications/calendar/controller/PhabricatorCalendarEventEditController.php
+++ b/src/applications/calendar/controller/PhabricatorCalendarEventEditController.php
@@ -47,6 +47,9 @@
PhabricatorPolicyCapability::CAN_EDIT,
))
->executeOne();
+ if (!$status) {
+ return new Aphront404Response();
+ }
$end_time->setValue($status->getDateTo());
$start_time->setValue($status->getDateFrom());

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 23, 12:34 PM (8 h, 27 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7036930
Default Alt Text
D8591.id.diff (637 B)

Event Timeline