mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-07-29 06:43:57 +02:00
The previous argument to the Enum was: "Status" => "Enum('Active, Injured, Retired')" This would cause issues where the 'Injured' and 'Retired' statuses would actually be stored in the database as ' Injured' and ' Retired' respectively, at least in 3.0. Using an array() to specify the enum, and using normal array syntax (albeit within a string) is less likely to cause errors. |
||
---|---|---|
.. | ||
en | ||
_manifest_exclude | ||
LICENSE |