Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15455915
D17369.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
576 B
Referenced Files
None
Subscribers
None
D17369.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 31, 5:41 AM (5 d, 2 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7385948
Default Alt Text
D17369.diff (576 B)
Attached To
Mode
D17369: Fix a CalendarExport issue when an existing export has an unsupported mode
Attached
Detach File
Event Timeline
Log In to Comment