Page MenuHomePhabricator

D17369.id41766.diff
No OneTemporary

D17369.id41766.diff

diff --git a/src/applications/calendar/editor/PhabricatorCalendarExportEditEngine.php b/src/applications/calendar/editor/PhabricatorCalendarExportEditEngine.php
--- a/src/applications/calendar/editor/PhabricatorCalendarExportEditEngine.php
+++ b/src/applications/calendar/editor/PhabricatorCalendarExportEditEngine.php
@@ -70,7 +70,7 @@
$current_mode = $object->getPolicyMode();
if (empty($export_modes[$current_mode])) {
- array_shift($export_modes, $current_mode);
+ array_unshift($export_modes, $current_mode);
}
$mode_options = array();

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 16, 7:09 AM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7385948
Default Alt Text
D17369.id41766.diff (576 B)

Event Timeline