1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +01:00
phorge-phorge/src
epriestley 01f277cef2 Fix a CalendarExport issue when an existing export has an unsupported mode
Summary:
See D16676. When an export has an unsupported mode (bad database value, out-of-date object, etc) the intent of this code is to put it into the `<select />` so that you can save the form without silently changing the object.

However, it incorrectly calls `array_shift()` instead of `array_unshift()`.

Test Plan:
Edited a Calendar export with an invalid mode, saw the mode appear properly in the dropdown:

{F2957321}

Reviewers: vrana, chad

Reviewed By: vrana

Differential Revision: https://secure.phabricator.com/D17369
2017-02-16 06:22:21 -08:00
..
__tests__ Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
aphront Preserve nonstandard ports during 404 redirects which add "/" to the ends of URIs 2017-01-04 06:55:10 -08:00
applications Fix a CalendarExport issue when an existing export has an unsupported mode 2017-02-16 06:22:21 -08:00
docs Clarify linking to comments in Remarkup Guide 2017-02-04 11:09:09 -08:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Allow task graph task titles to go full width 2017-02-10 10:58:15 -08:00
view Raise an "Account Setup Issue" if your primary address is unverified 2017-02-13 10:41:32 -08:00
__phutil_library_init__.php
__phutil_library_map__.php Build Badges View page into more of a profile 2017-02-15 11:32:23 -08:00