MINOR Updated r100966 to include spaces on ternary operator for readability and coding conventions

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@100975 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2010-03-12 03:23:19 +00:00 committed by Sam Minnee
parent dd649257fe
commit 1c9fd68be8

View File

@ -55,7 +55,7 @@ class MoneyField extends FormField {
$field = new DropdownField(
"{$this->name}[Currency]",
_t('MoneyField.FIELDLABELCURRENCY', 'Currency'),
ArrayLib::is_associative($allowedCurrencies)?$allowedCurrencies:array_combine($allowedCurrencies,$allowedCurrencies)
ArrayLib::is_associative($allowedCurrencies) ? $allowedCurrencies : array_combine($allowedCurrencies,$allowedCurrencies)
);
} else {
$field = new TextField(