Page MenuHomePhabricator

D8591.id20373.diff
No OneTemporary

D8591.id20373.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
Sun, Mar 16, 8:51 PM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7223059
Default Alt Text
D8591.id20373.diff (637 B)

Event Timeline